Package | Description |
---|---|
com.google.errorprone | |
com.google.errorprone.scanner |
Modifier and Type | Method and Description |
---|---|
Class<? extends BugChecker> |
BugCheckerInfo.checkerClass() |
Modifier and Type | Method and Description |
---|---|
void |
VisitorState.incrementCounter(BugChecker bugChecker,
String key)
Increment the counter for a combination of
bugChecker 's canonical name and key
by 1. |
void |
VisitorState.incrementCounter(BugChecker bugChecker,
String key,
int count)
Increment the counter for a combination of
bugChecker 's canonical name and key
by count . |
Modifier and Type | Method and Description |
---|---|
static BugCheckerInfo |
BugCheckerInfo.create(Class<? extends BugChecker> checker) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableSet<BugChecker> |
ErrorProneScanner.getBugCheckers() |
Modifier and Type | Method and Description |
---|---|
static ScannerSupplier |
ScannerSupplier.fromBugCheckerClasses(Iterable<Class<? extends BugChecker>> checkers)
Returns a
ScannerSupplier with a specific list of BugChecker classes. |
Constructor and Description |
---|
ErrorProneScanner(BugChecker... checkers)
Create an error-prone scanner for the given checkers.
|
Constructor and Description |
---|
ErrorProneScanner(Iterable<BugChecker> checkers)
Create an error-prone scanner for a non-hardcoded set of checkers.
|
ErrorProneScanner(Iterable<BugChecker> checkers,
Map<String,BugPattern.SeverityLevel> severities)
Create an error-prone scanner for a non-hardcoded set of checkers.
|
Copyright © 2021 Google LLC. All rights reserved.