Package com.google.errorprone
package com.google.errorprone
-
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.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 collection of standardized tags that can be applied to BugPatterns.A serialization-friendly POJO of the information in aBugPattern
.Validates an@BugPattern
annotation for wellformedness.Interface for a transformation over Java source.Helps test Error Prone bug checkers and compilations.Combines multipleCodeTransformer
s into one.Strategies for reporting results.Factory for creating DescriptionListeners while compiling each file.Utility class for tests which need to assert on the diagnostics produced during compilation.Annotation processor which visits all classes that have aBugPattern
annotation, and writes a tab-delimited text file dumping the data found.Utility main which consumes the same tab-delimited text file and generates GitHub pages for the BugPatterns.ATaskListener
that runs Error Prone over attributed compilation units.ATaskListener
that performs refactorings.Wraps an unrecoverable error that occurs during analysis with the source position that triggered the crash.Represents an immutable map of Error Prone flags to their set values.Builder for Error Prone command-line flags object.An Error Prone compiler that implementsJavaCompiler
.A javacPlugin
that runs Error Prone.Processes command-line options specific to error-prone.Severity levels for an error-prone check that define how the check results should be presented.Loads custom Error Prone checks from the annotation processor classpath.A collection of timing data for the runtime of individual checks.The Error Prone version.ManagesJavacFileManager
s for use in Error Prone's test.Factories for in-memoryJavaFileObject
s, for testing.Parse import order strings.Making our errors appear to the user and break their build.A token uniquely identifying a single invocation of javac.A classloader that allows plugins to access the Error Prone classes from the compiler classpath.A container of fixes that have been collected during a single compilation phase.A collector of counters keyed by strings.A view on top of aContext
allowing additional modifications to be added without affecting the underlyingContext
.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.