Uses of Class
com.google.errorprone.scanner.ScannerSupplier
-
Uses of ScannerSupplier in com.google.errorprone
Modifier and TypeMethodDescriptionstatic ScannerSupplier
ErrorPronePlugins.loadPlugins
(ScannerSupplier scannerSupplier, com.sun.tools.javac.util.Context context) Modifier and TypeMethodDescriptionstatic ErrorProneAnalyzer
ErrorProneAnalyzer.createByScanningForPlugins
(ScannerSupplier scannerSupplier, ErrorProneOptions errorProneOptions, com.sun.tools.javac.util.Context context) static ScannerSupplier
ErrorPronePlugins.loadPlugins
(ScannerSupplier scannerSupplier, com.sun.tools.javac.util.Context context) BugCheckerRefactoringTestHelper.newInstance
(ScannerSupplier scannerSupplier, Class<?> clazz) Returns a newCompilationTestHelper
.static CompilationTestHelper
CompilationTestHelper.newInstance
(ScannerSupplier scannerSupplier, Class<?> clazz) Returns a newCompilationTestHelper
.ModifierConstructorDescriptionBaseErrorProneJavaCompiler
(ScannerSupplier scannerSupplier) ErrorProneJavaCompiler
(ScannerSupplier scannerSupplier) -
Uses of ScannerSupplier in com.google.errorprone.scanner
Modifier and TypeMethodDescriptionstatic ScannerSupplier
BuiltInCheckerSuppliers.allChecks()
Returns aScannerSupplier
with allBugChecker
s in Error Prone.ScannerSupplier.applyOverrides
(ErrorProneOptions errorProneOptions) Applies options to thisScannerSupplier
.static ScannerSupplier
BuiltInCheckerSuppliers.defaultChecks()
Returns aScannerSupplier
with theBugChecker
s that are in the ENABLED lists.static ScannerSupplier
BuiltInCheckerSuppliers.errorChecks()
Returns aScannerSupplier
with theBugChecker
s that are in the ENABLED_ERRORS list.ScannerSupplier.filter
(com.google.common.base.Predicate<? super BugCheckerInfo> predicate) Filters thisScannerSupplier
based on the provided predicate.static ScannerSupplier
ScannerSupplier.fromBugCheckerClasses
(Class<? extends BugChecker>... checkerClasses) Returns aScannerSupplier
with a specific list ofBugChecker
classes.static ScannerSupplier
ScannerSupplier.fromBugCheckerClasses
(Iterable<Class<? extends BugChecker>> checkers) Returns aScannerSupplier
with a specific list ofBugChecker
classes.static ScannerSupplier
ScannerSupplier.fromBugCheckerInfos
(Iterable<BugCheckerInfo> checkers) Returns aScannerSupplier
built from a list ofBugCheckerInfo
s.static ScannerSupplier
ScannerSupplier.fromScanner
(Scanner scanner) Returns aScannerSupplier
that just returns theScanner
that was passed in.ScannerSupplier.plus
(ScannerSupplier other) static ScannerSupplier
BuiltInCheckerSuppliers.warningChecks()
Returns aScannerSupplier
with theBugChecker
s that are in the ENABLED_WARNINGS list.