Uses of Interface
com.google.errorprone.bugpatterns.BugChecker.ClassTreeMatcher
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.
-
Uses of BugChecker.ClassTreeMatcher in com.google.errorprone.bugpatterns
Modifier and TypeClassDescriptionclass
ABugChecker
; see the associatedBugPattern
annotation for details.final class
Checks annotation positioning, and orphaned Javadocs.class
See summary for details.class
Checks the toString(), hashCode() and equals() methods are final in AutoValue classes.class
Flags mutable collections in AutoValue.class
Checker that ensures implementations ofAnnotation
override equals and hashCode.final class
ABugChecker
that detects use of the unsafe JNDI API system.final class
See thesummary
.class
class
class
See the summary.class
class
class
final class
Flags variables initialized withPattern.compile(String)
calls that could be constants.class
Matches the behaviour of the javac dep-ann Xlint warning.class
Classes that overrideObject.equals(java.lang.Object)
should also overrideObject.hashCode()
.class
final class
Makes sure that you are not extending a class that has @AutoValue as an annotation.class
ABugChecker
; see the associatedBugPattern
annotation for details.class
final class
Flags a few ways in which member names may violate the style guide.final class
Refactoring to suggest Immutable types for member collection that are not mutated.final class
Refactoring to suggest usingprivate static final
ImmutableSet
overImmutableList
when using only contains, containsAll and isEmpty.class
Checker for variables under the same scope that only differ in capitalization.final class
Looks for hashCode implementations which are inconsistent with equals.class
Checks that InputStreams should override int read(byte[], int, int);final class
Bugpattern to detect interfaces used only to store static fields/methods.class
class
ABugChecker
; see the associatedBugPattern
annotation for details.class
ABugChecker
; see the associatedBugPattern
annotation for details.class
class
final class
ABugChecker
; see the associatedBugPattern
annotation for details.class
ABugChecker
; see the associatedBugPattern
annotation for details.class
Checks if a constructor or method annotated withMustBeClosed
is called within the resource variable initializer of a try-with-resources statement.final class
Warns on classes or methods being named similarly to contextual keywords, or invoking such methods.final class
Warns against overriding toString() in a Throwable class and suggests getMessage()final class
Flags uses of parameters in non-parameterized tests.final class
class
Flags protected members in final classes.final class
Flags uses of parameters in non-parameterized tests.final class
Flags uses of@Theory
(and others) in non-Theories
-run tests.class
Warns when a type parameter shadows another type name in scope.class
class
class
ABugChecker
; see the associatedBugPattern
annotation for details. -
Uses of BugChecker.ClassTreeMatcher in com.google.errorprone.bugpatterns.android
Modifier and TypeClassDescriptionclass
class
class
BugPattern to detect classes which implement android.os.Parcelable but don't have public static CREATOR. -
Uses of BugChecker.ClassTreeMatcher in com.google.errorprone.bugpatterns.checkreturnvalue
Modifier and TypeClassDescriptionfinal class
Checker that "pushes" the@CanIgnoreReturnValue
annotation down from classes to methods. -
Uses of BugChecker.ClassTreeMatcher in com.google.errorprone.bugpatterns.inject
Modifier and TypeClassDescriptionclass
class
Checks if class constructor and members are both annotated as @Inject.class
class
class
This checker matches if a class has more than one annotation that is a scope annotation(that is, the annotation is either annotated with Guice's@ScopeAnnotation
or Javax's@Scope
).class
class
-
Uses of BugChecker.ClassTreeMatcher in com.google.errorprone.bugpatterns.inject.dagger
Modifier and TypeClassDescriptionclass
final class
Migrate users who use JSR 330 scopes on Dagger modules. -
Uses of BugChecker.ClassTreeMatcher in com.google.errorprone.bugpatterns.inject.guice
Modifier and TypeClassDescriptionclass
This checker matches iff *both* of the following conditions are true: 1) The class is assisted: a) If there is a constructor that is annotated with @Inject and that constructor has at least one parameter that is annotated with @Assisted. -
Uses of BugChecker.ClassTreeMatcher in com.google.errorprone.bugpatterns.javadoc
Modifier and TypeClassDescriptionfinal class
Matches block tags (@param, @return, @throws, @deprecated) with an empty description.final class
Finds unescaped entities in Javadocs.final class
Matches invalid usage of @inheritDoc.final class
Matches invalid Javadoc tags, and tries to suggest fixes.final class
Matches invalid Javadoc tags, and tries to suggest fixes.final class
Finds some common errors in @link tags.final class
Matches incorrect Javadoc @param tags.final class
Finds malformed inline tags where @{tag is used instead of {@tag.final class
Matches Javadocs which are missing a required summary line.final class
Finds unescaped entities in Javadocs.final class
Flags tags which haven't been recognised by the Javadoc parser.final class
Discourages using URLs in @see tags. -
Uses of BugChecker.ClassTreeMatcher in com.google.errorprone.bugpatterns.nullness
Modifier and TypeClassDescriptionclass
Check to detect unsafe upcasts ofnull
values to wildcard types. -
Uses of BugChecker.ClassTreeMatcher in com.google.errorprone.bugpatterns.overloading
Modifier and TypeClassDescriptionfinal class
ABugChecker
that detects inconsistently overloaded methods in Java classes. -
Uses of BugChecker.ClassTreeMatcher in com.google.errorprone.bugpatterns.threadsafety
Modifier and TypeClassDescriptionclass
ABugChecker
; see the associatedBugPattern
annotation for details.class
ABugChecker
; see the associatedBugPattern
annotation for details.class
ABugChecker
; see the associatedBugPattern
annotation for details.class
ABugChecker
; see the associatedBugPattern
annotation for details.