Class BugChecker.SuppressibleTreePathScanner<A,​B>

java.lang.Object
com.sun.source.util.TreeScanner<R,​P>
com.sun.source.util.TreePathScanner<A,​B>
com.google.errorprone.bugpatterns.BugChecker.SuppressibleTreePathScanner<A,​B>
All Implemented Interfaces:
com.sun.source.tree.TreeVisitor<A,​B>
Enclosing class:
BugChecker

protected class BugChecker.SuppressibleTreePathScanner<A,​B>
extends com.sun.source.util.TreePathScanner<A,​B>
A TreePathScanner which skips trees which are suppressed for this check.
  • Constructor Summary

    Constructors
    Modifier Constructor Description
    protected SuppressibleTreePathScanner()  
  • Method Summary

    Modifier and Type Method Description
    A scan​(com.sun.source.tree.Tree tree, B b)  

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

    getCurrentPath, scan

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

    reduce, scan, visitAnnotatedType, visitAnnotation, visitArrayAccess, visitArrayType, visitAssert, visitAssignment, visitBinary, 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
  • Constructor Details

    • SuppressibleTreePathScanner

      protected SuppressibleTreePathScanner()
  • Method Details

    • scan

      public final A scan​(com.sun.source.tree.Tree tree, B b)
      Overrides:
      scan in class com.sun.source.util.TreePathScanner<A,​B>