Uses of Interface
com.google.errorprone.bugpatterns.BugChecker.ReturnTreeMatcher
Package
Description
Checks added to the java compiler which detect common bug patterns.
Bug patterns related to Dagger.
-
Uses of BugChecker.ReturnTreeMatcher in com.google.errorprone.bugpatterns
Modifier and TypeClassDescriptionclass
An abstract base class to match API usages in which the return value is not used.final class
Checks thatAsyncCallable
implementations do not directlyreturn null
.final class
Checks thatAsyncFunction
implementations do not directlyreturn null
.class
class
Matches the behaviour of javac's finally Xlint warning.final class
See BugPattern annotation.final class
Flags ignored return values from pure getters.class
ABugChecker
; see the associatedBugPattern
annotation for details.class
Checks methods annotated with@NoAllocation
to ensure they really do not allocate.final class
Highlights cases where a proto's build method has its return value ignored.class
Flags methods with collection return types which returnnull
in some cases but don't annotate the method as @Nullable.class
A checker which produces an error when a return value is accidentally discarded.final class
ABugChecker
; see the associatedBugPattern
for details.class
Finds and fixes unnecessarily boxed return expressions. -
Uses of BugChecker.ReturnTreeMatcher in com.google.errorprone.bugpatterns.android
-
Uses of BugChecker.ReturnTreeMatcher in com.google.errorprone.bugpatterns.inject.dagger
Modifier and TypeClassDescriptionclass
Bug checker for null-returning methods annotated with@Provides
but not@Nullable
. -
Uses of BugChecker.ReturnTreeMatcher in com.google.errorprone.bugpatterns.nullness
Modifier and TypeClassDescriptionclass
Check to detect unsafe upcasts ofnull
values to wildcard types.