Uses of Package
com.google.errorprone
Package
Description
Checks added to the java compiler which detect common bug patterns.
Bug patterns related to dependency
injection and JSR 330.
Bug patterns related to Dagger.
Bug patterns related to Guice.
Support code for providing automated corrections for defects we find.
A predicate DSL for matching javac AST nodes.
Supports matchers, but rather than giving Matcher implementations which are predicates on
individual AST nodes, a supplier gives contextual information from the traversal of the AST.
Utility code.
-
ClassDescriptionAn Error Prone compiler that implements
JavaCompiler
.An accessor for information about a single bug checker, including the metadata in the check's@BugPattern
annotation and the class that implements the check.Compare a file transformed as suggested byBugChecker
to an expected source.To assert the proper.addInput().addOutput()
chain.For checks that provide multiple possible fixes, chooses the one that will be applied for the test.Predefined FixChoosers for selecting a fix by its position in the listTest mode for matching refactored source against expected source.Describes a bug pattern detected by error-prone.The type of link to generate in the compiler error message.The severity of the diagnostic.A serialization-friendly POJO of the information in aBugPattern
.Interface for a transformation over Java source.Helps test Error Prone bug checkers and compilations.Strategies for reporting results.Factory for creating DescriptionListeners while compiling each file.ATaskListener
that runs Error Prone over attributed compilation units.Represents an immutable map of Error Prone flags to their set values.Builder for Error Prone command-line flags object.Processes command-line options specific to error-prone.Severity levels for an error-prone check that define how the check results should be presented.A collection of timing data for the runtime of individual checks.A token uniquely identifying a single invocation of javac.A container of fixes that have been collected during a single compilation phase.A collector of counters keyed by strings.Immutable container of "suppression signals" - annotations or other information gathered from source - that can be used to determine if a specificSuppressible
object should be considered suppressed.An exception that indicates that BugPattern validation failed. -
-
ClassDescriptionDescribes a bug pattern detected by error-prone.The severity of the diagnostic.Represents an immutable map of Error Prone flags to their set values.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
ClassDescriptionDescribes a bug pattern detected by error-prone.Represents an immutable map of Error Prone flags to their set values.
-
-
-
-
-
-
ClassDescriptionInterface for a transformation over Java source.Strategies for reporting results.
-
ClassDescriptionAn accessor for information about a single bug checker, including the metadata in the check's
@BugPattern
annotation and the class that implements the check.The severity of the diagnostic.Interface for a transformation over Java source.Strategies for reporting results.Represents an immutable map of Error Prone flags to their set values.Processes command-line options specific to error-prone. -
-