public final class ModelMatcher extends StrictVisitor<Boolean,Model,NoThrow>
Model
objects.Modifier and Type | Field and Description |
---|---|
static ModelMatcher |
INSTANCE
The singleton instance.
|
public static final ModelMatcher INSTANCE
public Boolean visitAlternateConstructorInvocation(AlternateConstructorInvocation elem, Model context)
Visitor
AlternateConstructorInvocation
using this visitor.visitAlternateConstructorInvocation
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitAnnotationDeclaration(AnnotationDeclaration elem, Model context)
Visitor
AnnotationDeclaration
using this visitor.visitAnnotationDeclaration
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitAnnotationElement(AnnotationElement elem, Model context)
Visitor
AnnotationElement
using this visitor.visitAnnotationElement
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitAnnotationElementDeclaration(AnnotationElementDeclaration elem, Model context)
Visitor
AnnotationElementDeclaration
using this visitor.visitAnnotationElementDeclaration
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitArrayAccessExpression(ArrayAccessExpression elem, Model context)
Visitor
ArrayAccessExpression
using this visitor.visitArrayAccessExpression
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitArrayCreationExpression(ArrayCreationExpression elem, Model context)
Visitor
ArrayCreationExpression
using this visitor.visitArrayCreationExpression
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitArrayInitializer(ArrayInitializer elem, Model context)
Visitor
ArrayInitializer
using this visitor.visitArrayInitializer
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitArrayType(ArrayType elem, Model context)
Visitor
ArrayType
using this visitor.visitArrayType
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitAssertStatement(AssertStatement elem, Model context)
Visitor
AssertStatement
using this visitor.visitAssertStatement
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitAssignmentExpression(AssignmentExpression elem, Model context)
Visitor
AssignmentExpression
using this visitor.visitAssignmentExpression
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitBasicType(BasicType elem, Model context)
Visitor
BasicType
using this visitor.visitBasicType
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitBlock(Block elem, Model context)
Visitor
Block
using this visitor.visitBlock
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitBlockComment(BlockComment elem, Model context)
Visitor
BlockComment
using this visitor.visitBlockComment
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitBreakStatement(BreakStatement elem, Model context)
Visitor
BreakStatement
using this visitor.visitBreakStatement
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitCastExpression(CastExpression elem, Model context)
Visitor
CastExpression
using this visitor.visitCastExpression
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitCatchClause(CatchClause elem, Model context)
Visitor
CatchClause
using this visitor.visitCatchClause
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitClassBody(ClassBody elem, Model context)
Visitor
ClassBody
using this visitor.visitClassBody
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitClassDeclaration(ClassDeclaration elem, Model context)
Visitor
ClassDeclaration
using this visitor.visitClassDeclaration
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitClassInstanceCreationExpression(ClassInstanceCreationExpression elem, Model context)
Visitor
ClassInstanceCreationExpression
using this visitor.visitClassInstanceCreationExpression
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitClassLiteral(ClassLiteral elem, Model context)
Visitor
ClassLiteral
using this visitor.visitClassLiteral
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitCompilationUnit(CompilationUnit elem, Model context)
Visitor
CompilationUnit
using this visitor.visitCompilationUnit
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitConditionalExpression(ConditionalExpression elem, Model context)
Visitor
ConditionalExpression
using this visitor.visitConditionalExpression
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitConstructorDeclaration(ConstructorDeclaration elem, Model context)
Visitor
ConstructorDeclaration
using this visitor.visitConstructorDeclaration
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitContinueStatement(ContinueStatement elem, Model context)
Visitor
ContinueStatement
using this visitor.visitContinueStatement
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitDoStatement(DoStatement elem, Model context)
Visitor
DoStatement
using this visitor.visitDoStatement
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitDocBlock(DocBlock elem, Model context)
Visitor
DocBlock
using this visitor.visitDocBlock
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitDocField(DocField elem, Model context)
Visitor
DocField
using this visitor.visitDocField
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitDocMethod(DocMethod elem, Model context)
Visitor
DocMethod
using this visitor.visitDocMethod
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitDocMethodParameter(DocMethodParameter elem, Model context)
Visitor
DocMethodParameter
using this visitor.visitDocMethodParameter
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitDocText(DocText elem, Model context)
Visitor
DocText
using this visitor.visitDocText
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitEmptyStatement(EmptyStatement elem, Model context)
Visitor
EmptyStatement
using this visitor.visitEmptyStatement
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitEnhancedForStatement(EnhancedForStatement elem, Model context)
Visitor
EnhancedForStatement
using this visitor.visitEnhancedForStatement
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitEnumConstantDeclaration(EnumConstantDeclaration elem, Model context)
Visitor
EnumConstantDeclaration
using this visitor.visitEnumConstantDeclaration
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitEnumDeclaration(EnumDeclaration elem, Model context)
Visitor
EnumDeclaration
using this visitor.visitEnumDeclaration
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitExpressionStatement(ExpressionStatement elem, Model context)
Visitor
ExpressionStatement
using this visitor.visitExpressionStatement
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitFieldAccessExpression(FieldAccessExpression elem, Model context)
Visitor
FieldAccessExpression
using this visitor.visitFieldAccessExpression
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitFieldDeclaration(FieldDeclaration elem, Model context)
Visitor
FieldDeclaration
using this visitor.visitFieldDeclaration
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitForStatement(ForStatement elem, Model context)
Visitor
ForStatement
using this visitor.visitForStatement
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitFormalParameterDeclaration(FormalParameterDeclaration elem, Model context)
Visitor
FormalParameterDeclaration
using this visitor.visitFormalParameterDeclaration
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitIfStatement(IfStatement elem, Model context)
Visitor
IfStatement
using this visitor.visitIfStatement
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitImportDeclaration(ImportDeclaration elem, Model context)
Visitor
ImportDeclaration
using this visitor.visitImportDeclaration
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitInfixExpression(InfixExpression elem, Model context)
Visitor
InfixExpression
using this visitor.visitInfixExpression
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitInitializerDeclaration(InitializerDeclaration elem, Model context)
Visitor
InitializerDeclaration
using this visitor.visitInitializerDeclaration
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitInstanceofExpression(InstanceofExpression elem, Model context)
Visitor
InstanceofExpression
using this visitor.visitInstanceofExpression
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitInterfaceDeclaration(InterfaceDeclaration elem, Model context)
Visitor
InterfaceDeclaration
using this visitor.visitInterfaceDeclaration
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitJavadoc(Javadoc elem, Model context)
Visitor
Javadoc
using this visitor.visitJavadoc
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitLabeledStatement(LabeledStatement elem, Model context)
Visitor
LabeledStatement
using this visitor.visitLabeledStatement
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitLambdaExpression(LambdaExpression elem, Model context)
Visitor
LambdaExpression
using this visitor.visitLambdaExpression
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitLineComment(LineComment elem, Model context)
Visitor
LineComment
using this visitor.visitLineComment
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitLiteral(Literal elem, Model context)
Visitor
Literal
using this visitor.visitLiteral
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitLocalClassDeclaration(LocalClassDeclaration elem, Model context)
Visitor
LocalClassDeclaration
using this visitor.visitLocalClassDeclaration
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitLocalVariableDeclaration(LocalVariableDeclaration elem, Model context)
Visitor
LocalVariableDeclaration
using this visitor.visitLocalVariableDeclaration
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitMarkerAnnotation(MarkerAnnotation elem, Model context)
Visitor
MarkerAnnotation
using this visitor.visitMarkerAnnotation
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitMethodDeclaration(MethodDeclaration elem, Model context)
Visitor
MethodDeclaration
using this visitor.visitMethodDeclaration
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitMethodInvocationExpression(MethodInvocationExpression elem, Model context)
Visitor
MethodInvocationExpression
using this visitor.visitMethodInvocationExpression
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitConstructorReferenceExpression(ConstructorReferenceExpression elem, Model context)
Visitor
ConstructorReferenceExpression
using this visitor.visitConstructorReferenceExpression
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitMethodReferenceExpression(MethodReferenceExpression elem, Model context)
Visitor
MethodReferenceExpression
using this visitor.visitMethodReferenceExpression
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitModifier(Modifier elem, Model context)
Visitor
Modifier
using this visitor.visitModifier
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitNamedType(NamedType elem, Model context)
Visitor
NamedType
using this visitor.visitNamedType
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitNormalAnnotation(NormalAnnotation elem, Model context)
Visitor
NormalAnnotation
using this visitor.visitNormalAnnotation
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitPackageDeclaration(PackageDeclaration elem, Model context)
Visitor
PackageDeclaration
using this visitor.visitPackageDeclaration
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitParameterizedType(ParameterizedType elem, Model context)
Visitor
ParameterizedType
using this visitor.visitParameterizedType
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitParenthesizedExpression(ParenthesizedExpression elem, Model context)
Visitor
ParenthesizedExpression
using this visitor.visitParenthesizedExpression
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitPostfixExpression(PostfixExpression elem, Model context)
Visitor
PostfixExpression
using this visitor.visitPostfixExpression
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitQualifiedName(QualifiedName elem, Model context)
Visitor
QualifiedName
using this visitor.visitQualifiedName
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitQualifiedType(QualifiedType elem, Model context)
Visitor
QualifiedType
using this visitor.visitQualifiedType
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitReturnStatement(ReturnStatement elem, Model context)
Visitor
ReturnStatement
using this visitor.visitReturnStatement
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitSimpleName(SimpleName elem, Model context)
Visitor
SimpleName
using this visitor.visitSimpleName
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitSingleElementAnnotation(SingleElementAnnotation elem, Model context)
Visitor
SingleElementAnnotation
using this visitor.visitSingleElementAnnotation
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitStatementExpressionList(StatementExpressionList elem, Model context)
Visitor
StatementExpressionList
using this visitor.visitStatementExpressionList
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitSuper(Super elem, Model context)
Visitor
Super
using this visitor.visitSuper
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitSuperConstructorInvocation(SuperConstructorInvocation elem, Model context)
Visitor
SuperConstructorInvocation
using this visitor.visitSuperConstructorInvocation
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitSwitchCaseLabel(SwitchCaseLabel elem, Model context)
Visitor
SwitchCaseLabel
using this visitor.visitSwitchCaseLabel
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitSwitchDefaultLabel(SwitchDefaultLabel elem, Model context)
Visitor
SwitchDefaultLabel
using this visitor.visitSwitchDefaultLabel
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitSwitchStatement(SwitchStatement elem, Model context)
Visitor
SwitchStatement
using this visitor.visitSwitchStatement
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitSynchronizedStatement(SynchronizedStatement elem, Model context)
Visitor
SynchronizedStatement
using this visitor.visitSynchronizedStatement
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitThis(This elem, Model context)
Visitor
This
using this visitor.visitThis
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitThrowStatement(ThrowStatement elem, Model context)
Visitor
ThrowStatement
using this visitor.visitThrowStatement
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitTryResource(TryResource elem, Model context)
Visitor
TryResource
using this visitor.visitTryResource
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitTryStatement(TryStatement elem, Model context)
Visitor
TryStatement
using this visitor.visitTryStatement
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitTypeParameterDeclaration(TypeParameterDeclaration elem, Model context)
Visitor
TypeParameterDeclaration
using this visitor.visitTypeParameterDeclaration
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitUnaryExpression(UnaryExpression elem, Model context)
Visitor
UnaryExpression
using this visitor.visitUnaryExpression
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitUnionType(UnionType elem, Model context)
Visitor
UnionType
using this visitor.visitUnionType
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitVariableDeclarator(VariableDeclarator elem, Model context)
Visitor
VariableDeclarator
using this visitor.visitVariableDeclarator
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitWhileStatement(WhileStatement elem, Model context)
Visitor
WhileStatement
using this visitor.visitWhileStatement
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)public Boolean visitWildcard(Wildcard elem, Model context)
Visitor
Wildcard
using this visitor.visitWildcard
in class StrictVisitor<Boolean,Model,NoThrow>
elem
- the target elementcontext
- the current context (nullable)Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.