Class AnnotationDoesNotHaveArgument
java.lang.Object
com.google.errorprone.matchers.AnnotationDoesNotHaveArgument
- All Implemented Interfaces:
Matcher<AnnotationTree>, Serializable
Matches an annotation that does not have a particular argument, possibly because the default
value is being used.
- Author:
- mwacker@google.com (Mike Wacker)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(AnnotationTree annotationTree, VisitorState state)
-
Constructor Details
-
AnnotationDoesNotHaveArgument
Creates a new matcher.- Parameters:
name
- the name of the argument to search for
-
-
Method Details
-
matches
- Specified by:
matches
in interfaceMatcher<AnnotationTree>
-