When this method is invoked, a new TypeDeclaration object is created by the transformation framework.
当调用该方法时,转换框架就生成新的 TypeDeclaration 对象。
For instance, if you type classs instead of class, it will affect the creation of a TypeDeclaration node, and it will be an error.
比方说,如果输入classs而不是输入class,那么会影响到TypeDeclaration节点的创建,这就是一个错误。
Because you have defined this extension to be invoked when the transformation is processing a UML class, you can safely type the target object to an Abstract Syntax Tree (AST) TypeDeclaration object.
因为当转换处理UM l类时,您已经定义调用该扩展,所以您可以安全地向Abstract Syntax Tree (ast) TypeDeclaration对象输入目标对象。
应用推荐