Uses of Interface
com.google.errorprone.bugpatterns.BugChecker.ClassTreeMatcher
Packages that use 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
Classes in com.google.errorprone.bugpatterns that implement BugChecker.ClassTreeMatcherModifier and TypeClassDescriptionclassABugChecker; see the associatedBugPatternannotation for details.final classChecks annotation positioning, and orphaned Javadocs.classSee summary for details.classChecks the toString(), hashCode() and equals() methods are final in AutoValue classes.classFlags mutable collections in AutoValue.classChecker that ensures implementations ofAnnotationoverride equals and hashCode.final classABugCheckerthat detects use of the unsafe JNDI API system.final classSee thesummary.classclassclassSee the summary.classclassclassfinal classFlags variables initialized withPattern.compile(String)calls that could be constants.classMatches the behaviour of the javac dep-ann Xlint warning.final classABugChecker; see the associatedBugPatternannotation for details.classClasses that overrideObject.equals(Object)should also overrideObject.hashCode().classfinal classMakes sure that you are not extending a class that has @AutoValue as an annotation.classABugChecker; see the associatedBugPatternannotation for details.classfinal classFlags a few ways in which member names may violate the style guide.final classRefactoring to suggest Immutable types for member collection that are not mutated.final classRefactoring to suggest usingprivate static finalImmutableSetoverImmutableListwhen using only contains, containsAll and isEmpty.classChecker for variables under the same scope that only differ in capitalization.final classLooks for hashCode implementations which are inconsistent with equals.classChecks that InputStreams should override int read(byte[], int, int);final classBugpattern to detect interfaces used only to store static fields/methods.classclassABugChecker; see the associatedBugPatternannotation for details.classABugChecker; see the associatedBugPatternannotation for details.classclassfinal classABugChecker; see the associatedBugPatternannotation for details.classABugChecker; see the associatedBugPatternannotation for details.classChecks if a constructor or method annotated withMustBeClosedis called within the resource variable initializer of a try-with-resources statement.final classWarns on classes or methods being named similarly to contextual keywords, or invoking such methods.final classFlags uses of parameters in non-parameterized tests.final classclassFlags protected members in final classes.final classFlags uses of parameters in non-parameterized tests.final classFlags uses of@Theory(and others) in non-Theories-run tests.classWarns when a type parameter shadows another type name in scope.classclassclassABugChecker; see the associatedBugPatternannotation for details. -
Uses of BugChecker.ClassTreeMatcher in com.google.errorprone.bugpatterns.android
Classes in com.google.errorprone.bugpatterns.android that implement BugChecker.ClassTreeMatcherModifier and TypeClassDescriptionclassclassclassBugPattern 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
Classes in com.google.errorprone.bugpatterns.checkreturnvalue that implement BugChecker.ClassTreeMatcherModifier and TypeClassDescriptionfinal classChecker that "pushes" the@CanIgnoreReturnValueannotation down from classes to methods. -
Uses of BugChecker.ClassTreeMatcher in com.google.errorprone.bugpatterns.inject
Classes in com.google.errorprone.bugpatterns.inject that implement BugChecker.ClassTreeMatcherModifier and TypeClassDescriptionclassclassChecks if class constructor and members are both annotated as @Inject.classclassclassThis 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@ScopeAnnotationor Javax's@Scope).classclass -
Uses of BugChecker.ClassTreeMatcher in com.google.errorprone.bugpatterns.inject.dagger
Classes in com.google.errorprone.bugpatterns.inject.dagger that implement BugChecker.ClassTreeMatcherModifier and TypeClassDescriptionclassfinal classMigrate users who use JSR 330 scopes on Dagger modules. -
Uses of BugChecker.ClassTreeMatcher in com.google.errorprone.bugpatterns.inject.guice
Classes in com.google.errorprone.bugpatterns.inject.guice that implement BugChecker.ClassTreeMatcherModifier and TypeClassDescriptionclassThis 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. b) If there is no @Inject constructor and at least one constructor is annotated with@AssistedInject. 2) There is an annotation on the class, and the annotation is itself annotated with@ScopeAnnotation. -
Uses of BugChecker.ClassTreeMatcher in com.google.errorprone.bugpatterns.javadoc
Classes in com.google.errorprone.bugpatterns.javadoc that implement BugChecker.ClassTreeMatcherModifier and TypeClassDescriptionfinal classMatches block tags (@param, @return, @throws, @deprecated) with an empty description.final classFinds unescaped entities in Javadocs.final classMatches invalid usage of @inheritDoc.final classMatches invalid Javadoc tags, and tries to suggest fixes.final classMatches invalid Javadoc tags, and tries to suggest fixes.final classFinds some common errors in @link tags.final classMatches incorrect Javadoc @param tags.final classA bug pattern; see the summary.final classFinds malformed inline tags where @{tag is used instead of {@tag.final classMatches Javadocs which are missing a required summary line.final classFinds unescaped entities in Javadocs.final classFlags tags which haven't been recognised by the Javadoc parser.final classDiscourages using URLs in @see tags. -
Uses of BugChecker.ClassTreeMatcher in com.google.errorprone.bugpatterns.nullness
Classes in com.google.errorprone.bugpatterns.nullness that implement BugChecker.ClassTreeMatcherModifier and TypeClassDescriptionclassCheck to detect unsafe upcasts ofnullvalues to wildcard types. -
Uses of BugChecker.ClassTreeMatcher in com.google.errorprone.bugpatterns.overloading
Classes in com.google.errorprone.bugpatterns.overloading that implement BugChecker.ClassTreeMatcherModifier and TypeClassDescriptionfinal classABugCheckerthat detects inconsistently overloaded methods in Java classes. -
Uses of BugChecker.ClassTreeMatcher in com.google.errorprone.bugpatterns.threadsafety
Classes in com.google.errorprone.bugpatterns.threadsafety that implement BugChecker.ClassTreeMatcherModifier and TypeClassDescriptionclassABugChecker; see the associatedBugPatternannotation for details.classABugChecker; see the associatedBugPatternannotation for details.classABugChecker; see the associatedBugPatternannotation for details.classABugChecker; see the associatedBugPatternannotation for details.