Class EqualsVisitor
- java.lang.Object
-
- com.github.javaparser.ast.visitor.EqualsVisitor
-
- All Implemented Interfaces:
GenericVisitor<java.lang.Boolean,Visitable>
public class EqualsVisitor extends java.lang.Object implements GenericVisitor<java.lang.Boolean,Visitable>
A visitor that calculates deep node equality by comparing all properties and child nodes of the node.
-
-
Field Summary
Fields Modifier and Type Field Description private static EqualsVisitor
SINGLETON
-
Constructor Summary
Constructors Modifier Constructor Description private
EqualsVisitor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private boolean
commonNodeEquality(Node n, Node n2)
Check for equality that can be applied to each kind of node, to not repeat it in every method we store that here.static boolean
equals(Node n, Node n2)
private <T extends Node>
booleannodeEquals(java.util.Optional<T> n, java.util.Optional<T> n2)
private <T extends Node>
booleannodeEquals(T n, T n2)
private <N extends Node>
booleannodesEquals(NodeList<N> n, NodeList<N> n2)
private <T extends Node>
booleannodesEquals(java.util.List<T> nodes1, java.util.List<T> nodes2)
private <T extends Node>
booleannodesEquals(java.util.Optional<NodeList<T>> n, java.util.Optional<NodeList<T>> n2)
private boolean
objEquals(java.lang.Object n, java.lang.Object n2)
java.lang.Boolean
visit(ArrayCreationLevel n, Visitable arg)
java.lang.Boolean
visit(AnnotationDeclaration n, Visitable arg)
java.lang.Boolean
visit(AnnotationMemberDeclaration n, Visitable arg)
java.lang.Boolean
visit(ClassOrInterfaceDeclaration n, Visitable arg)
java.lang.Boolean
visit(CompactConstructorDeclaration n, Visitable arg)
java.lang.Boolean
visit(ConstructorDeclaration n, Visitable arg)
java.lang.Boolean
visit(EnumConstantDeclaration n, Visitable arg)
java.lang.Boolean
visit(EnumDeclaration n, Visitable arg)
java.lang.Boolean
visit(FieldDeclaration n, Visitable arg)
java.lang.Boolean
visit(InitializerDeclaration n, Visitable arg)
java.lang.Boolean
visit(MethodDeclaration n, Visitable arg)
java.lang.Boolean
visit(Parameter n, Visitable arg)
java.lang.Boolean
visit(ReceiverParameter n, Visitable arg)
java.lang.Boolean
visit(RecordDeclaration n, Visitable arg)
java.lang.Boolean
visit(VariableDeclarator n, Visitable arg)
java.lang.Boolean
visit(BlockComment n, Visitable arg)
java.lang.Boolean
visit(JavadocComment n, Visitable arg)
java.lang.Boolean
visit(LineComment n, Visitable arg)
java.lang.Boolean
visit(CompilationUnit n, Visitable arg)
java.lang.Boolean
visit(ArrayAccessExpr n, Visitable arg)
java.lang.Boolean
visit(ArrayCreationExpr n, Visitable arg)
java.lang.Boolean
visit(ArrayInitializerExpr n, Visitable arg)
java.lang.Boolean
visit(AssignExpr n, Visitable arg)
java.lang.Boolean
visit(BinaryExpr n, Visitable arg)
java.lang.Boolean
visit(BooleanLiteralExpr n, Visitable arg)
java.lang.Boolean
visit(CastExpr n, Visitable arg)
java.lang.Boolean
visit(CharLiteralExpr n, Visitable arg)
java.lang.Boolean
visit(ClassExpr n, Visitable arg)
java.lang.Boolean
visit(ConditionalExpr n, Visitable arg)
java.lang.Boolean
visit(DoubleLiteralExpr n, Visitable arg)
java.lang.Boolean
visit(EnclosedExpr n, Visitable arg)
java.lang.Boolean
visit(FieldAccessExpr n, Visitable arg)
java.lang.Boolean
visit(InstanceOfExpr n, Visitable arg)
java.lang.Boolean
visit(IntegerLiteralExpr n, Visitable arg)
java.lang.Boolean
visit(LambdaExpr n, Visitable arg)
java.lang.Boolean
visit(LongLiteralExpr n, Visitable arg)
java.lang.Boolean
visit(MarkerAnnotationExpr n, Visitable arg)
java.lang.Boolean
visit(MemberValuePair n, Visitable arg)
java.lang.Boolean
visit(MethodCallExpr n, Visitable arg)
java.lang.Boolean
visit(MethodReferenceExpr n, Visitable arg)
java.lang.Boolean
visit(NameExpr n, Visitable arg)
java.lang.Boolean
visit(Name n, Visitable arg)
java.lang.Boolean
visit(NormalAnnotationExpr n, Visitable arg)
java.lang.Boolean
visit(NullLiteralExpr n, Visitable arg)
java.lang.Boolean
visit(ObjectCreationExpr n, Visitable arg)
java.lang.Boolean
visit(RecordPatternExpr n, Visitable arg)
java.lang.Boolean
visit(SimpleName n, Visitable arg)
java.lang.Boolean
visit(SingleMemberAnnotationExpr n, Visitable arg)
java.lang.Boolean
visit(StringLiteralExpr n, Visitable arg)
java.lang.Boolean
visit(SuperExpr n, Visitable arg)
java.lang.Boolean
visit(SwitchExpr n, Visitable arg)
java.lang.Boolean
visit(TextBlockLiteralExpr n, Visitable arg)
java.lang.Boolean
visit(ThisExpr n, Visitable arg)
java.lang.Boolean
visit(TypeExpr n, Visitable arg)
java.lang.Boolean
visit(TypePatternExpr n, Visitable arg)
java.lang.Boolean
visit(UnaryExpr n, Visitable arg)
java.lang.Boolean
visit(VariableDeclarationExpr n, Visitable arg)
java.lang.Boolean
visit(ImportDeclaration n, Visitable arg)
java.lang.Boolean
visit(Modifier n, Visitable arg)
java.lang.Boolean
visit(ModuleDeclaration n, Visitable arg)
java.lang.Boolean
visit(ModuleExportsDirective n, Visitable arg)
java.lang.Boolean
visit(ModuleOpensDirective n, Visitable arg)
java.lang.Boolean
visit(ModuleProvidesDirective n, Visitable arg)
java.lang.Boolean
visit(ModuleRequiresDirective n, Visitable arg)
java.lang.Boolean
visit(ModuleUsesDirective n, Visitable arg)
java.lang.Boolean
visit(NodeList n, Visitable arg)
java.lang.Boolean
visit(PackageDeclaration n, Visitable arg)
java.lang.Boolean
visit(AssertStmt n, Visitable arg)
java.lang.Boolean
visit(BlockStmt n, Visitable arg)
java.lang.Boolean
visit(BreakStmt n, Visitable arg)
java.lang.Boolean
visit(CatchClause n, Visitable arg)
java.lang.Boolean
visit(ContinueStmt n, Visitable arg)
java.lang.Boolean
visit(DoStmt n, Visitable arg)
java.lang.Boolean
visit(EmptyStmt n, Visitable arg)
java.lang.Boolean
visit(ExplicitConstructorInvocationStmt n, Visitable arg)
java.lang.Boolean
visit(ExpressionStmt n, Visitable arg)
java.lang.Boolean
visit(ForEachStmt n, Visitable arg)
java.lang.Boolean
visit(ForStmt n, Visitable arg)
java.lang.Boolean
visit(IfStmt n, Visitable arg)
java.lang.Boolean
visit(LabeledStmt n, Visitable arg)
java.lang.Boolean
visit(LocalClassDeclarationStmt n, Visitable arg)
java.lang.Boolean
visit(LocalRecordDeclarationStmt n, Visitable arg)
java.lang.Boolean
visit(ReturnStmt n, Visitable arg)
java.lang.Boolean
visit(SwitchEntry n, Visitable arg)
java.lang.Boolean
visit(SwitchStmt n, Visitable arg)
java.lang.Boolean
visit(SynchronizedStmt n, Visitable arg)
java.lang.Boolean
visit(ThrowStmt n, Visitable arg)
java.lang.Boolean
visit(TryStmt n, Visitable arg)
java.lang.Boolean
visit(UnparsableStmt n, Visitable arg)
java.lang.Boolean
visit(WhileStmt n, Visitable arg)
java.lang.Boolean
visit(YieldStmt n, Visitable arg)
java.lang.Boolean
visit(ArrayType n, Visitable arg)
java.lang.Boolean
visit(ClassOrInterfaceType n, Visitable arg)
java.lang.Boolean
visit(IntersectionType n, Visitable arg)
java.lang.Boolean
visit(PrimitiveType n, Visitable arg)
java.lang.Boolean
visit(TypeParameter n, Visitable arg)
java.lang.Boolean
visit(UnionType n, Visitable arg)
java.lang.Boolean
visit(UnknownType n, Visitable arg)
java.lang.Boolean
visit(VarType n, Visitable arg)
java.lang.Boolean
visit(VoidType n, Visitable arg)
java.lang.Boolean
visit(WildcardType n, Visitable arg)
-
-
-
Field Detail
-
SINGLETON
private static final EqualsVisitor SINGLETON
-
-
Method Detail
-
commonNodeEquality
private boolean commonNodeEquality(Node n, Node n2)
Check for equality that can be applied to each kind of node, to not repeat it in every method we store that here.
-
nodesEquals
private <T extends Node> boolean nodesEquals(java.util.List<T> nodes1, java.util.List<T> nodes2)
-
nodeEquals
private <T extends Node> boolean nodeEquals(T n, T n2)
-
nodeEquals
private <T extends Node> boolean nodeEquals(java.util.Optional<T> n, java.util.Optional<T> n2)
-
nodesEquals
private <T extends Node> boolean nodesEquals(java.util.Optional<NodeList<T>> n, java.util.Optional<NodeList<T>> n2)
-
objEquals
private boolean objEquals(java.lang.Object n, java.lang.Object n2)
-
visit
public java.lang.Boolean visit(CompilationUnit n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(PackageDeclaration n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(TypeParameter n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(LineComment n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(BlockComment n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ClassOrInterfaceDeclaration n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(EnumDeclaration n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(EnumConstantDeclaration n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(AnnotationDeclaration n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(AnnotationMemberDeclaration n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(FieldDeclaration n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(VariableDeclarator n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ConstructorDeclaration n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(MethodDeclaration n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(Parameter n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(InitializerDeclaration n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(JavadocComment n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ClassOrInterfaceType n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(PrimitiveType n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ArrayType n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ArrayCreationLevel n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(IntersectionType n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(UnionType n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(VoidType n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(WildcardType n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(UnknownType n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ArrayAccessExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ArrayCreationExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ArrayInitializerExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(AssignExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(BinaryExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(CastExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ClassExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ConditionalExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(EnclosedExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(FieldAccessExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(InstanceOfExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(StringLiteralExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(IntegerLiteralExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(LongLiteralExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(CharLiteralExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(DoubleLiteralExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(BooleanLiteralExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(NullLiteralExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(MethodCallExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(NameExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ObjectCreationExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(Name n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(SimpleName n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ThisExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(SuperExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(UnaryExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(VariableDeclarationExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(MarkerAnnotationExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(SingleMemberAnnotationExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(NormalAnnotationExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(MemberValuePair n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ExplicitConstructorInvocationStmt n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(LocalClassDeclarationStmt n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(LocalRecordDeclarationStmt n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(AssertStmt n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(BlockStmt n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(LabeledStmt n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(EmptyStmt n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ExpressionStmt n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(SwitchStmt n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(SwitchEntry n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(BreakStmt n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ReturnStmt n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(IfStmt n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(WhileStmt n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ContinueStmt n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(DoStmt n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ForEachStmt n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ForStmt n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ThrowStmt n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(SynchronizedStmt n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(TryStmt n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(CatchClause n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(LambdaExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(MethodReferenceExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(TypeExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ImportDeclaration n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(NodeList n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ModuleDeclaration n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ModuleRequiresDirective n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ModuleExportsDirective n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ModuleProvidesDirective n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ModuleUsesDirective n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ModuleOpensDirective n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(UnparsableStmt n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(ReceiverParameter n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(VarType n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(Modifier n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(SwitchExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(YieldStmt n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(TextBlockLiteralExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(TypePatternExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(RecordDeclaration n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(CompactConstructorDeclaration n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
visit
public java.lang.Boolean visit(RecordPatternExpr n, Visitable arg)
- Specified by:
visit
in interfaceGenericVisitor<java.lang.Boolean,Visitable>
-
-