Package com.google.errorprone.matchers
Class AnnotationHasArgumentWithValue
java.lang.Object
com.google.errorprone.matchers.AnnotationHasArgumentWithValue
- All Implemented Interfaces:
Matcher<com.sun.source.tree.AnnotationTree>
,Serializable
public class AnnotationHasArgumentWithValue
extends Object
implements Matcher<com.sun.source.tree.AnnotationTree>
- Author:
- eaftan@google.com (Eddie Aftandilian), pepstein@google.com (Peter Epstein)
- See Also:
-
Constructor Summary
ConstructorDescriptionAnnotationHasArgumentWithValue
(String element, Matcher<com.sun.source.tree.ExpressionTree> valueMatcher) -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(com.sun.source.tree.AnnotationTree annotationTree, VisitorState state)