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
  • Field Summary

    Fields
    Modifier and Type Field Description
    VisitorState state
    saved state
  • Constructor Summary

    Constructors
    Constructor Description
    TreeScannerBinary​(VisitorState currState)
    constructor
  • Method Summary

    Modifier and Type Method Description
    Void visitBinary​(com.sun.source.tree.BinaryTree tree, SuggestedFix.Builder p)  

    Methods inherited from class com.sun.source.util.TreeScanner

    reduce, scan, scan, visitAnnotatedType, visitAnnotation, visitArrayAccess, visitArrayType, visitAssert, visitAssignment, visitBindingPattern, 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, visitParenthesized, visitPrimitiveType, visitProvides, visitRequires, visitReturn, visitSwitch, visitSwitchExpression, visitSynchronized, visitThrow, visitTry, visitTypeCast, visitTypeParameter, visitUnary, visitUnionType, visitUses, visitVariable, visitWhileLoop, visitWildcard, visitYield

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • TreeScannerBinary

      public TreeScannerBinary​(VisitorState currState)
      constructor
  • Method Details