diff --git a/api/latest/com/google/errorprone/matchers/method/MethodMatchers.MethodClassMatcher.html b/api/latest/com/google/errorprone/matchers/method/MethodMatchers.MethodClassMatcher.html index 1d60ea226c1..d42a5540413 100644 --- a/api/latest/com/google/errorprone/matchers/method/MethodMatchers.MethodClassMatcher.html +++ b/api/latest/com/google/errorprone/matchers/method/MethodMatchers.MethodClassMatcher.html @@ -135,8 +135,10 @@
withSignature(String signature)
Example: format(java.lang.String,java.lang.Object...)
MethodMatchers.MethodSignatureMatcher
withSignature(String signature)
Matchers.isNullUsingDataflow()
instead.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 getSymbol(tree).getAnnotationMirrors()
to
@@ -206,27 +211,27 @@ ASTHelpers.getAnnotations(com.sun.source.tree.Tree)
(or a direct call to a getAnnotations
method declared on a
specific Tree
subclass) instead.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.ASTHelpers.hasAnnotation(Symbol, String, VisitorState)
to avoid needing a
runtime dependency on the annotation class, and to prevent issues if there is skew between
the definition of the annotation on the runtime and compile-time classpathsASTHelpers.hasAnnotation(Symbol, String, VisitorState)
to avoid needing a
runtime dependency on the annotation class, and to prevent issues if there is skew between
the definition of the annotation on the runtime and compile-time classpaths