public static class Heuristics.WithinTrueBranch extends Heuristics.Matcher
Constructor and Description |
---|
WithinTrueBranch(Heuristics.Matcher conditionMatcher) |
Modifier and Type | Method and Description |
---|---|
boolean |
match(com.sun.source.util.TreePath path) |
defaultAction, visitParenthesized
visit, visit, visitAnnotatedType, visitAnnotation, visitArrayAccess, visitArrayType, visitAssert, visitAssignment, visitBinary, visitBlock, visitBreak, visitCase, visitCatch, visitClass, visitCompilationUnit, visitCompoundAssignment, visitConditionalExpression, visitContinue, visitDoWhileLoop, visitEmptyStatement, visitEnhancedForLoop, visitErroneous, visitExpressionStatement, visitForLoop, visitIdentifier, visitIf, visitImport, visitInstanceOf, visitIntersectionType, visitLabeledStatement, visitLambdaExpression, visitLiteral, visitMemberReference, visitMemberSelect, visitMethod, visitMethodInvocation, visitModifiers, visitNewArray, visitNewClass, visitOther, visitParameterizedType, visitPrimitiveType, visitReturn, visitSwitch, visitSynchronized, visitThrow, visitTry, visitTypeCast, visitTypeParameter, visitUnary, visitUnionType, visitVariable, visitWhileLoop, visitWildcard
public WithinTrueBranch(Heuristics.Matcher conditionMatcher)
conditionMatcher
- for the conditionpublic boolean match(com.sun.source.util.TreePath path)
match
in class Heuristics.Matcher