Uses of Package
com.google.errorprone.bugpatterns
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.
-
-
ClassDescriptionCheck for usage of
Set<T>
orMap<T, E>
.An abstract class that detects use of the unsafe APIs.Helper for enforcing Annotations that disallow mocking.A policy for determining what classes should not be mocked.An explanation of what type should not be mocked, and the reason why.An extension ofMatcher
to return, not just a boolean `matches`, but also extract some type information about the Tree of interest.An abstract check for resources that must be closed; used byStreamResourceLeak
andMustBeClosedChecker
.Error Prone's fix application logic doesn't like it when a fix suggests multiple identical insertions at the same position.Finds calls to regex-accepting methods with literal strings.Abstract implementation of a BugPattern that detects the use of reference equality to compare classes with value semantics.An abstract base class to match API usages in which the return value is not used.An abstract matcher for implicit and explicit calls toObject.toString()
, for use on types that do not have a human-readabletoString()
implementation.Helper for refactoring from if-else chains to switches.A base class for implementing bug checkers.Stores the result of a can-be-static query.Base class for checks which find common errors in date format patterns.Information about a static import.Helper for strongly typing fields.Builder forStronglyType
An enum that classifies a String name into different types, based on the Google Java Style Guide's rules for Type Parameters.Enumerates types which have poorly-defined behaviour for equals. -
ClassDescriptionAn abstract base class to match API usages in which the return value is not used.A base class for implementing bug checkers.
-
ClassDescriptionA base class for implementing bug checkers.
-
ClassDescriptionA base class for implementing bug checkers.
-
ClassDescriptionA base class for implementing bug checkers.
-
ClassDescriptionA base class for implementing bug checkers.
-
ClassDescriptionA base class for implementing bug checkers.
-
ClassDescriptionA base class for implementing bug checkers.
-
ClassDescriptionA base class for implementing bug checkers.
-
ClassDescriptionA base class for implementing bug checkers.
-
ClassDescriptionA base class for implementing bug checkers.
-
ClassDescriptionA base class for implementing bug checkers.
-
ClassDescriptionA base class for implementing bug checkers.
-
ClassDescriptionA base class for implementing bug checkers.
-
ClassDescriptionA base class for implementing bug checkers.
-
ClassDescriptionA base class for implementing bug checkers.
-
ClassDescriptionA base class for implementing bug checkers.
-