Uses of Class
com.google.errorprone.annotations.CheckReturnValue
Package | Description |
---|---|
com.google.errorprone | |
com.google.errorprone.bugpatterns |
Checks added to the java compiler which detect common bug patterns.
|
com.google.errorprone.bugpatterns.threadsafety | |
com.google.errorprone.matchers |
A predicate DSL for matching javac AST nodes.
|
com.google.errorprone.scanner |
-
Uses of CheckReturnValue in com.google.errorprone
Classes in com.google.errorprone with annotations of type CheckReturnValue Modifier and Type Class Description class
BugCheckerRefactoringTestHelper
Compare a file transformed as suggested byBugChecker
to an expected source.class
CompilationTestHelper
Helps test Error Prone bug checkers and compilations.class
SuppressionInfo
Immutable container of "suppression signals" - annotations or other information gathered from source - that can be used to determine if a specificSuppressible
object should be considered suppressed.Methods in com.google.errorprone with annotations of type CheckReturnValue Modifier and Type Method Description ErrorProneFlags
ErrorProneFlags. plus(ErrorProneFlags other)
Returns a new ErrorProneFlags object with the values of two ErrorProneFlags objects added together. -
Uses of CheckReturnValue in com.google.errorprone.bugpatterns
Methods in com.google.errorprone.bugpatterns with annotations of type CheckReturnValue Modifier and Type Method Description Description.Builder
BugChecker. buildDescription(com.sun.source.tree.Tree node)
Returns a Description builder, which allows you to customize the diagnostic with a custom message or multiple fixes.Description.Builder
BugChecker. buildDescription(com.sun.tools.javac.tree.JCTree tree)
Returns a Description builder, which allows you to customize the diagnostic with a custom message or multiple fixes.Description.Builder
BugChecker. buildDescription(com.sun.tools.javac.util.JCDiagnostic.DiagnosticPosition position)
Returns a Description builder, which allows you to customize the diagnostic with a custom message or multiple fixes.protected Description
BugChecker. describeMatch(com.sun.source.tree.Tree node)
Helper to create a Description for the common case where there is no fix.protected Description
BugChecker. describeMatch(com.sun.source.tree.Tree node, Fix fix)
Helper to create a Description for the common case where there is a fix.protected Description
BugChecker. describeMatch(com.sun.source.tree.Tree node, Optional<? extends Fix> fix)
Helper to create a Description for the common case where there is anOptional
fix.protected Description
BugChecker. describeMatch(com.sun.tools.javac.tree.JCTree node, Fix fix)
Helper to create a Description for the common case where there is a fix.protected Description
BugChecker. describeMatch(com.sun.tools.javac.util.JCDiagnostic.DiagnosticPosition position, Fix fix)
Helper to create a Description for the common case where there is a fix.protected Description
BugChecker. describeMatch(com.sun.tools.javac.util.JCDiagnostic.DiagnosticPosition position, Optional<? extends Fix> fix)
Helper to create a Description for the common case where there is anOptional
fix. -
Uses of CheckReturnValue in com.google.errorprone.bugpatterns.threadsafety
Methods in com.google.errorprone.bugpatterns.threadsafety with annotations of type CheckReturnValue Modifier and Type Method Description default Description
ImmutableAnalysis.ViolationReporter. report(com.sun.source.tree.Tree tree, ThreadSafety.Violation info, Optional<SuggestedFix> suggestedFix)
-
Uses of CheckReturnValue in com.google.errorprone.matchers
Methods in com.google.errorprone.matchers with annotations of type CheckReturnValue Modifier and Type Method Description Description
Description. applySeverityOverride(BugPattern.SeverityLevel severity)
Internal-only. -
Uses of CheckReturnValue in com.google.errorprone.scanner
Classes in com.google.errorprone.scanner with annotations of type CheckReturnValue Modifier and Type Class Description class
Scanner
TODO(eaftan): I'm worried about this performance of this code, specifically the part that handles SuppressWarnings.Methods in com.google.errorprone.scanner with annotations of type CheckReturnValue Modifier and Type Method Description ScannerSupplier
ScannerSupplier. applyOverrides(ErrorProneOptions errorProneOptions)
Applies options to thisScannerSupplier
.ScannerSupplier
ScannerSupplier. filter(com.google.common.base.Predicate<? super BugCheckerInfo> predicate)
Filters thisScannerSupplier
based on the provided predicate.ScannerSupplier
ScannerSupplier. plus(ScannerSupplier other)