Class ShortCircuitBoolean.TreeScannerBinary
java.lang.Object
com.sun.source.util.TreeScanner<Void,SuggestedFix.Builder>
com.google.errorprone.bugpatterns.ShortCircuitBoolean.TreeScannerBinary
- All Implemented Interfaces:
com.sun.source.tree.TreeVisitor<Void,
SuggestedFix.Builder>
- Enclosing class:
ShortCircuitBoolean
public static class ShortCircuitBoolean.TreeScannerBinary
extends com.sun.source.util.TreeScanner<Void,SuggestedFix.Builder>
Replaces the operators when visiting the binary nodes
- Author:
- cushon@google.com (Liam Miller-Cushon), sulku@google.com (Marsela Sulku), mariasam@google.com (Maria Sam)
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvisitBinary
(com.sun.source.tree.BinaryTree tree, SuggestedFix.Builder p) Methods inherited from class com.sun.source.util.TreeScanner
reduce, scan, scan, visitAnnotatedType, visitAnnotation, visitAnyPattern, visitArrayAccess, visitArrayType, visitAssert, visitAssignment, 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, visitParenthesized, visitPatternCaseLabel, visitPrimitiveType, visitProvides, visitRequires, visitReturn, visitSwitch, visitSwitchExpression, visitSynchronized, visitThrow, visitTry, visitTypeCast, visitTypeParameter, visitUnary, visitUnionType, visitUses, visitVariable, visitWhileLoop, visitWildcard, visitYield
-
Field Details
-
state
saved state
-
-
Constructor Details
-
TreeScannerBinary
constructor
-
-
Method Details
-
visitBinary
- Specified by:
visitBinary
in interfacecom.sun.source.tree.TreeVisitor<Void,
SuggestedFix.Builder> - Overrides:
visitBinary
in classcom.sun.source.util.TreeScanner<Void,
SuggestedFix.Builder>
-