R - the return type of this visitor's methods. Use Void for visitors that do not
need to return results.P - the type of the additional parameter to this visitor's methods. Use Void for
visitors that do not need an additional parameter.public interface ASTNodeVisitor<R,P>
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.
R visit(AnyTypeArgumentNode node, P arg)
R visit(ArrayTypeSignatureNode node, P arg)
R visit(BoundedTypeArgumentNode node, P arg)
R visit(ClassBoundNode node, P arg)
R visit(ClassSignatureNode node, P arg)
R visit(ClassTypeSignatureNode node, P arg)
R visit(InterfaceBoundNode node, P arg)
R visit(TypeSignatureNode node, P arg)
R visit(MethodSignatureNode node, P arg)
R visit(PackageSpecifierNode node, P arg)
R visit(ReferenceTypeSignatureNode node, P arg)
R visit(ResultNode node, P arg)
R visit(SimpleClassTypeSignatureNode node, P arg)
R visit(SuperclassSignatureNode node, P arg)
R visit(SuperinterfaceSignatureNode node, P arg)
R visit(ThrowsSignatureNode node, P arg)
R visit(TypeArgumentNode node, P arg)
R visit(TypeParameterNode node, P arg)
R visit(TypeVariableSignatureNode node, P arg)
R visit(WildcardIndicatorNode node, P arg)
R visit(ArrayTypeNode node, P arg)
R visit(BaseTypeNode node, P arg)
R visit(ClassTypeNode node, P arg)
R visit(FieldDescriptorNode node, P arg)
R visit(FieldTypeNode node, P arg)
R visit(MethodDescriptorNode node, P arg)
R visit(ReturnDescriptorNode node, P arg)
R visit(VoidDescriptorNode node, P arg)