public static class Heuristics.Matcher extends SimpleTreeVisitor<Boolean,Void>
DEFAULT_VALUE
Constructor and Description |
---|
Matcher() |
Modifier and Type | Method and Description |
---|---|
protected Boolean |
defaultAction(Tree node,
Void p) |
boolean |
match(TreePath path)
Returns true if the given path matches this Matcher.
|
Boolean |
visitParenthesized(ParenthesizedTree node,
Void p) |
visit, visit, visitAnnotatedType, visitAnnotation, visitArrayAccess, visitArrayType, visitAssert, visitAssignment, visitBinary, visitBlock, visitBreak, visitCase, visitCatch, visitClass, visitCompilationUnit, visitCompoundAssignment, visitConditionalExpression, visitContinue, visitDoWhileLoop, visitEmptyStatement, visitEnhancedForLoop, visitErroneous, visitExports, visitExpressionStatement, visitForLoop, visitIdentifier, visitIf, visitImport, visitInstanceOf, visitIntersectionType, visitLabeledStatement, visitLambdaExpression, visitLiteral, visitMemberReference, visitMemberSelect, visitMethod, visitMethodInvocation, visitModifiers, visitModule, visitNewArray, visitNewClass, visitOpens, visitOther, visitPackage, visitParameterizedType, visitPrimitiveType, visitProvides, visitRequires, visitReturn, visitSwitch, visitSynchronized, visitThrow, visitTry, visitTypeCast, visitTypeParameter, visitUnary, visitUnionType, visitUses, visitVariable, visitWhileLoop, visitWildcard
protected Boolean defaultAction(Tree node, Void p)
defaultAction
in class SimpleTreeVisitor<Boolean,Void>
public Boolean visitParenthesized(ParenthesizedTree node, Void p)
visitParenthesized
in interface TreeVisitor<Boolean,Void>
visitParenthesized
in class SimpleTreeVisitor<Boolean,Void>
public boolean match(TreePath path)
path
- the path to test