Interface ASTNodeVisitor<R,P>
-
- Type Parameters:
R
- the return type of this visitor's methods. UseVoid
for visitors that do not need to return results.P
- the type of the additional parameter to this visitor's methods. UseVoid
for visitors that do not need an additional parameter.
- All Known Subinterfaces:
TraversingASTNodeVisitor<P>
- All Known Implementing Classes:
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.
-
-
Method Summary
-
-
-
Method Detail
-
visit
R visit(AnyTypeArgumentNode node, P arg)
-
visit
R visit(ArrayTypeSignatureNode node, P arg)
-
visit
R visit(BoundedTypeArgumentNode node, P arg)
-
visit
R visit(ClassBoundNode node, P arg)
-
visit
R visit(ClassSignatureNode node, P arg)
-
visit
R visit(ClassTypeSignatureNode node, P arg)
-
visit
R visit(InterfaceBoundNode node, P arg)
-
visit
R visit(TypeSignatureNode node, P arg)
-
visit
R visit(MethodSignatureNode node, P arg)
-
visit
R visit(PackageSpecifierNode node, P arg)
-
visit
R visit(ReferenceTypeSignatureNode node, P arg)
-
visit
R visit(ResultNode node, P arg)
-
visit
R visit(SimpleClassTypeSignatureNode node, P arg)
-
visit
R visit(SuperclassSignatureNode node, P arg)
-
visit
R visit(SuperinterfaceSignatureNode node, P arg)
-
visit
R visit(ThrowsSignatureNode node, P arg)
-
visit
R visit(TypeArgumentNode node, P arg)
-
visit
R visit(TypeParameterNode node, P arg)
-
visit
R visit(TypeVariableSignatureNode node, P arg)
-
visit
R visit(WildcardIndicatorNode node, P arg)
-
visit
R visit(ArrayTypeNode node, P arg)
-
visit
R visit(BaseTypeNode node, P arg)
-
visit
R visit(ClassTypeNode node, P arg)
-
visit
R visit(FieldDescriptorNode node, P arg)
-
visit
R visit(FieldTypeNode node, P arg)
-
visit
R visit(MethodDescriptorNode node, P arg)
-
visit
R visit(ReturnDescriptorNode node, P arg)
-
visit
R visit(VoidDescriptorNode node, P arg)
-
-