Uses of Interface
com.google.errorprone.bugpatterns.BugChecker.CompilationUnitTreeMatcher
Package
Description
Checks added to the java compiler which detect common bug patterns.
-
Uses of BugChecker.CompilationUnitTreeMatcher in com.google.errorprone.bugpatterns
Modifier and TypeClassDescriptionfinal class
Bugpattern to find conditions which are checked more than once.final class
MatchesAutoValue_
uses outside the containing file.final class
Checks, if two constructors in a class both acceptFoo foo
and one calls the other, that the caller passesfoo
as a parameter.class
ABugChecker
; see the associatedBugPattern
annotation for details.class
A checker that suggests deduplicating literals with existing constant variables.class
ABugChecker
; see the associatedBugPattern
annotation for details.final class
Java classes shouldn't use default package.final class
Discourages using multiple names to refer to the same type within a file (e.g.final class
A bugpattern; see the description.class
ABugChecker
; see the associatedBugPattern
annotation for details.final class
ABugChecker
; see the associatedBugPattern
annotation for details.class
final class
Flags fields which can be replaced with local variables.final class
Matches comparison of proto fields tonull
.class
ABugChecker
; see the associatedBugPattern
annotation for details.final class
A bugpattern; see the associated summary.final class
Finds tests that won't run due to the enclosing runner.class
ABugChecker
; see the associatedBugPattern
annotation for details.class
ABugChecker
; see the associatedBugPattern
annotation for details.final class
Flags methods which return mutable collections from some code paths, but immutable ones from others.final class
A BugPattern; see the summary.final class
A BugPattern; see the summary.final class
ABugChecker
; see the associatedBugPattern
annotation for details.final class
class
ABugChecker
; see the associatedBugPattern
annotation for details.class
ABugChecker
; see the associatedBugPattern
annotation for details.final class
Tightens types which refer to an Iterable, Map, Multimap, etc.final class
final class
Looks for types being shadowed by other types in a way that may be confusing.final class
Flags fields which would be better expressed as ByteStrings rather than primitive byte arrays.final class
Finds occurrences of@SuppressWarnings
where there is definitely no explanation for why it is safe.final class
Bans, without the possibility of suppression, the use of direction-changing Unicode escapes.final class
Replaces printable ASCII unicode escapes with the literal version.final class
Bans using non-ASCII Unicode characters outside string literals and comments.final class
Flags uses of fully qualified names which are not ambiguous if imported.class
Finds and fixes unnecessarily boxed variables.final class
See the summary.final class
A BugPattern; see the summary.final class
Bugpattern to detect unused declarations.final class
Bugpattern to detect unused nested classes.final class
A BugPattern; see the summary.final class
Bugpattern to detect unused declarations.class
ABugChecker
; see the associatedBugPattern
annotation for details. -
Uses of BugChecker.CompilationUnitTreeMatcher in com.google.errorprone.bugpatterns.formatstring
Modifier and TypeClassDescriptionclass
ABugChecker
; see the associatedBugPattern
annotation for details. -
Uses of BugChecker.CompilationUnitTreeMatcher in com.google.errorprone.bugpatterns.javadoc
Modifier and TypeClassDescriptionfinal class
Flags comments which appear to be intended to be Javadoc, but are not started with an extra*
.final class
A BugPattern; see the summary. -
Uses of BugChecker.CompilationUnitTreeMatcher in com.google.errorprone.bugpatterns.nullness
Modifier and TypeClassDescriptionclass
ABugChecker
; see the associatedBugPattern
annotation for details. -
Uses of BugChecker.CompilationUnitTreeMatcher in com.google.errorprone.bugpatterns.threadsafety
Modifier and TypeClassDescriptionclass
ABugChecker
; see the associatedBugPattern
annotation for details. -
Uses of BugChecker.CompilationUnitTreeMatcher in com.google.errorprone.bugpatterns.time
Modifier and TypeClassDescriptionfinal class
Flags fields which would be better expressed as time types rather than primitive integers.