Class Heuristics.OfKind
java.lang.Object
com.sun.source.util.SimpleTreeVisitor<Boolean,Void>
org.checkerframework.framework.util.Heuristics.Matcher
org.checkerframework.framework.util.Heuristics.OfKind
- All Implemented Interfaces:
TreeVisitor<Boolean,
Void>
- Enclosing class:
Heuristics
match()
returns true if called on a path whose leaf has the given kind (supplied at
object initialization).-
Field Summary
Fields inherited from class com.sun.source.util.SimpleTreeVisitor
DEFAULT_VALUE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.checkerframework.framework.util.Heuristics.Matcher
defaultAction, visitParenthesized
Methods inherited from class com.sun.source.util.SimpleTreeVisitor
visit, visit, visitAnnotatedType, visitAnnotation, visitAnyPattern, visitArrayAccess, visitArrayType, visitAssert, visitAssignment, visitBinary, visitBindingPattern, visitBlock, visitBreak, visitCase, visitCatch, visitClass, visitCompilationUnit, visitCompoundAssignment, visitConditionalExpression, visitConstantCaseLabel, visitContinue, visitDeconstructionPattern, visitDefaultCaseLabel, 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, visitPatternCaseLabel, visitPrimitiveType, visitProvides, visitRequires, visitReturn, visitStringTemplate, visitSwitch, visitSwitchExpression, visitSynchronized, visitThrow, visitTry, visitTypeCast, visitTypeParameter, visitUnary, visitUnionType, visitUses, visitVariable, visitWhileLoop, visitWildcard, visitYield
-
Constructor Details
-
OfKind
-
-
Method Details
-
match
Description copied from class:Heuristics.Matcher
Returns true if the given path matches this Matcher.- Overrides:
match
in classHeuristics.Matcher
- Parameters:
path
- the path to test- Returns:
- true if the given path matches this Matcher
-