Uses of Interface
com.google.errorprone.bugpatterns.BugChecker.VariableTreeMatcher
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 Guice.
-
Uses of BugChecker.VariableTreeMatcher in com.google.errorprone.bugpatterns
Modifier and TypeClassDescriptionclass
AbstractMockChecker<T extends Annotation>
Helper for enforcing Annotations that disallow mocking.final class
Checks annotation positioning, and orphaned Javadocs.final class
ABugChecker
; see the associatedBugPattern
annotation for details.class
Bug pattern to recognize attempts to mock final types.class
A Bugpattern; see the accompanying Markdown documentation.class
ABugChecker
; see the associatedBugPattern
annotation for details.class
ABugChecker
; see the associatedBugPattern
annotation for details.class
Matches the behaviour of the javac dep-ann Xlint warning.class
ABugChecker
; see the associatedBugPattern
annotation for details.final class
Suggests not mocking AutoValue classes.class
Points out if a Mockito or EasyMock mock is mocking an object that would be better off being tested using an alternative instance.final class
Finds fields which can be safely made static.class
ABugChecker
; see the associatedBugPattern
annotation for details.final class
Flags a few ways in which member names may violate the style guide.class
ABugChecker
; see the associatedBugPattern
annotation for details.final class
Bugpattern to encourage initializing effectively final variables inline with their declaration, if possible.class
ABugChecker
; see the associatedBugPattern
annotation for details.class
ABugChecker
; see the associatedBugPattern
annotation for details.class
ABugChecker
; see the associatedBugPattern
annotation for details.class
Matches creation of new collections/proto builders which are modified but never used.class
ABugChecker
; see the associatedBugPattern
annotation for details.class
Check for public static final declaration of Arrays.class
Checks methods annotated with@NoAllocation
to ensure they really do not allocate.final class
A BugPattern; see the summary.final class
A bugpattern; see the summary.final class
class
TODO(eaftan): Consider cases where the parent is not a statement or there is no parent?final class
Checks for static fields being assigned withThrowable
.final class
ABugChecker
; see the associatedBugPattern
annotation for details.class
Warns against use of bothstatic
andtransient
modifiers on field declarations.class
ABugChecker
; see the associatedBugPattern
annotation for details.final class
Discourage manual initialization or assignment to fields annotated with framework annotations.final class
A BugPattern; see the summary.class
Finds and fixes unnecessarily boxed return expressions.final class
Removesfinal
from non-field variables.class
ABugChecker
; see the associatedBugPattern
annotation for details.class
ABugChecker
; see the associatedBugPattern
annotation for details.class
Check for variables and types with the same namefinal class
Converts some local variables to usevar
. -
Uses of BugChecker.VariableTreeMatcher in com.google.errorprone.bugpatterns.checkreturnvalue
Modifier and TypeClassDescriptionfinal class
Checker that warns when capturing the result of an ignorable API into anunused
variable. -
Uses of BugChecker.VariableTreeMatcher in com.google.errorprone.bugpatterns.flogger
Modifier and TypeClassDescriptionfinal class
Ensures that class-level FluentLogger objects are private static final.final class
Bugpattern to prevent splitting flogger log invocations into multiple statements. -
Uses of BugChecker.VariableTreeMatcher in com.google.errorprone.bugpatterns.inject
Modifier and TypeClassDescriptionclass
Bug checker for when a scope annotation is used at injection site, which does not have any effect on the injected values. -
Uses of BugChecker.VariableTreeMatcher in com.google.errorprone.bugpatterns.inject.guice
-
Uses of BugChecker.VariableTreeMatcher 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
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.VariableTreeMatcher in com.google.errorprone.bugpatterns.nullness
Modifier and TypeClassDescriptionclass
ABugChecker
; see the associatedBugPattern
annotation for details.class
ABugChecker
; see the associatedBugPattern
annotation for details.class
class
ABugChecker
; see the associatedBugPattern
annotation for details.class
Check to detect unsafe upcasts ofnull
values to wildcard types.class
ABugChecker
; see the associatedBugPattern
annotation for details. -
Uses of BugChecker.VariableTreeMatcher in com.google.errorprone.bugpatterns.threadsafety
Modifier and TypeClassDescriptionclass
ABugChecker
; see the associatedBugPattern
annotation for details. -
Uses of BugChecker.VariableTreeMatcher in com.google.errorprone.bugpatterns.time
Modifier and TypeClassDescriptionfinal class
Checker that detects likely time-unit mismatches by looking at identifier names.