接口 ASTNodeVisitor<R,P>
- 类型参数:
R- the return type of this visitor's methods. UseVoidfor visitors that do not need to return results.P- the type of the additional parameter to this visitor's methods. UseVoidfor visitors that do not need an additional parameter.
- 所有已知子接口:
TraversingASTNodeVisitor<P>
- 所有已知实现类:
ClassNameCollectingVisitor
public interface ASTNodeVisitor<R,P>
A visitor of grammar and signature AST nodes, in the style of the visitor design pattern.
WARNING: It is possible that methods will be added to this interface to accommodate new, currently unknown, language structures added to future versions of the JVM. Visitor classes directly implementing this interface may be source incompatible with future versions of the library/platform.
-
方法概要
修饰符和类型方法说明visit(ArrayTypeNode node, P arg) visit(BaseTypeNode node, P arg) visit(ClassTypeNode node, P arg) visit(FieldDescriptorNode node, P arg) visit(FieldTypeNode node, P arg) visit(MethodDescriptorNode node, P arg) visit(ReturnDescriptorNode node, P arg) visit(VoidDescriptorNode node, P arg) visit(AnyTypeArgumentNode node, P arg) visit(ArrayTypeSignatureNode node, P arg) visit(BoundedTypeArgumentNode node, P arg) visit(ClassBoundNode node, P arg) visit(ClassSignatureNode node, P arg) visit(ClassTypeSignatureNode node, P arg) visit(InterfaceBoundNode node, P arg) visit(MethodSignatureNode node, P arg) visit(PackageSpecifierNode node, P arg) visit(ReferenceTypeSignatureNode node, P arg) visit(ResultNode node, P arg) visit(SimpleClassTypeSignatureNode node, P arg) visit(SuperclassSignatureNode node, P arg) visit(SuperinterfaceSignatureNode node, P arg) visit(ThrowsSignatureNode node, P arg) visit(TypeArgumentNode node, P arg) visit(TypeParameterNode node, P arg) visit(TypeSignatureNode node, P arg) visit(TypeVariableSignatureNode node, P arg) visit(WildcardIndicatorNode node, P arg)
-
方法详细资料
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-