AnnotationDeclaration
, AnnotationExpr
, AnnotationMemberDeclaration
, ArrayAccessExpr
, ArrayCreationExpr
, ArrayCreationLevel
, ArrayInitializerExpr
, ArrayType
, AssertStmt
, AssignExpr
, BinaryExpr
, BlockComment
, BlockStmt
, BodyDeclaration
, BooleanLiteralExpr
, BreakStmt
, CallableDeclaration
, CastExpr
, CatchClause
, CharLiteralExpr
, ClassExpr
, ClassOrInterfaceDeclaration
, ClassOrInterfaceType
, Comment
, CompilationUnit
, ConditionalExpr
, ConstructorDeclaration
, ContinueStmt
, DoStmt
, DoubleLiteralExpr
, EmptyStmt
, EnclosedExpr
, EnumConstantDeclaration
, EnumDeclaration
, ExplicitConstructorInvocationStmt
, Expression
, ExpressionStmt
, FieldAccessExpr
, FieldDeclaration
, ForeachStmt
, ForStmt
, IfStmt
, ImportDeclaration
, InitializerDeclaration
, InstanceOfExpr
, IntegerLiteralExpr
, IntersectionType
, JavadocComment
, LabeledStmt
, LambdaExpr
, LineComment
, LiteralExpr
, LiteralStringValueExpr
, LocalClassDeclarationStmt
, LongLiteralExpr
, MarkerAnnotationExpr
, MemberValuePair
, MethodCallExpr
, MethodDeclaration
, MethodReferenceExpr
, ModuleDeclaration
, ModuleExportsStmt
, ModuleOpensStmt
, ModuleProvidesStmt
, ModuleRequiresStmt
, ModuleStmt
, ModuleUsesStmt
, Name
, NameExpr
, Node
, NodeList
, NormalAnnotationExpr
, NullLiteralExpr
, ObjectCreationExpr
, PackageDeclaration
, Parameter
, PrimitiveType
, ReferenceType
, ReturnStmt
, SimpleName
, SingleMemberAnnotationExpr
, Statement
, StringLiteralExpr
, SuperExpr
, SwitchEntryStmt
, SwitchStmt
, SynchronizedStmt
, ThisExpr
, ThrowStmt
, TryStmt
, Type
, TypeDeclaration
, TypeExpr
, TypeParameter
, UnaryExpr
, UnionType
, UnknownType
, UnparsableStmt
, VariableDeclarationExpr
, VariableDeclarator
, VoidType
, WhileStmt
, WildcardType
public interface Visitable
Modifier and Type | Method | Description |
---|---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg) |
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg) |
Accept method for visitor support.
|
<R,A> R accept(GenericVisitor<R,A> v, A arg)
R
- the type of the return value of the visitorA
- the type the user argument passed to the visitorv
- the visitor implementationarg
- the argument passed to the visitor (of type A)<A> void accept(VoidVisitor<A> v, A arg)
A
- the type the argument passed for the visitorv
- the visitor implementationarg
- any value relevant for the visitor (of type A)Copyright © 2007–2019. All rights reserved.