Interface and Description |
---|
com.google.errorprone.matchers.method.MethodMatchers.AnyMethodMatcher
use
Matcher<ExpressionTree> instead of referring directly to this type. |
com.google.errorprone.matchers.method.MethodMatchers.ConstructorClassMatcher
use
Matcher<ExpressionTree> instead of referring directly to this type. |
com.google.errorprone.matchers.method.MethodMatchers.ConstructorMatcher
use
Matcher<ExpressionTree> instead of referring directly to this type. |
com.google.errorprone.matchers.method.MethodMatchers.InstanceMethodMatcher
use
Matcher<ExpressionTree> instead of referring directly to this type. |
com.google.errorprone.matchers.method.MethodMatchers.MethodClassMatcher
use
Matcher<ExpressionTree> instead of referring directly to this type. |
com.google.errorprone.matchers.method.MethodMatchers.MethodMatcher
use
Matcher<ExpressionTree> instead of referring directly to this type. |
com.google.errorprone.matchers.method.MethodMatchers.MethodNameMatcher
use
Matcher<ExpressionTree> instead of referring directly to this type. |
com.google.errorprone.matchers.method.MethodMatchers.MethodSignatureMatcher
use
Matcher<ExpressionTree> instead of referring directly to this type. |
com.google.errorprone.matchers.method.MethodMatchers.ParameterMatcher
use
Matcher<ExpressionTree> instead of referring directly to this type. |
com.google.errorprone.matchers.method.MethodMatchers.StaticMethodMatcher
use
Matcher<ExpressionTree> instead of referring directly to this type. |
Method and Description |
---|
com.google.errorprone.matchers.Description.Builder.addFix(Optional<? extends Fix>)
prefer referring to empty fixes using
SuggestedFix.emptyFix() . |
com.google.errorprone.bugpatterns.BugChecker.describeMatch(JCDiagnostic.DiagnosticPosition, Optional<? extends Fix>)
prefer referring to empty fixes using
SuggestedFix.emptyFix() . |
com.google.errorprone.bugpatterns.BugChecker.describeMatch(Tree, Optional<? extends Fix>)
prefer referring to empty fixes using
SuggestedFix.emptyFix() . |
com.google.errorprone.util.ASTHelpers.getAnnotation(Symbol, Class<T>)
If
annotationClass contains a member that is a Class or an array of
them, attempting to access that member from the Error Prone checker code will result in a
runtime exception. Instead, operate on sym.getAnnotationMirrors() to
meta-syntactically inspect the annotation. |
com.google.errorprone.util.ASTHelpers.getAnnotation(Tree, Class<T>)
If
annotationClass contains a member that is a Class or an array of
them, attempting to access that member from the Error Prone checker code will result in a
runtime exception. Instead, operate on sym.getAnnotationMirrors() to
meta-syntactically inspect the annotation. |
com.google.errorprone.matchers.Matchers.isNonNull()
use
Matchers.isNonNullUsingDataflow() instead. |
com.google.errorprone.matchers.Matchers.isNull()
use
Matchers.isNullUsingDataflow() instead. |
com.google.errorprone.ErrorProneError.logFatalError(Log) |
Constructor and Description |
---|
com.google.errorprone.VisitorState(Context)
If VisitorState is needed, use
VisitorState.createForUtilityPurposes(com.sun.tools.javac.util.Context) , otherwise just
use utility methods in ASTHelpers that don't need VisitorSate. |
com.google.errorprone.VisitorState(Context, DescriptionListener)
Use the equivalent factory method
VisitorState.createForCustomFindingCollection(com.sun.tools.javac.util.Context, com.google.errorprone.DescriptionListener) . |
com.google.errorprone.VisitorState(Context, DescriptionListener, Map<String, BugPattern.SeverityLevel>, ErrorProneOptions) |
Copyright © 2021 Google LLC. All rights reserved.