Package edu.umd.cs.findbugs.filter
Class AnnotationMatcher
- java.lang.Object
-
- edu.umd.cs.findbugs.filter.AnnotationMatcher
-
-
Field Summary
Fields Modifier and Type Field Description private NameMatchannotationNameprivate static org.slf4j.LoggerLOG
-
Constructor Summary
Constructors Constructor Description AnnotationMatcher(java.lang.String annotationName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatch(BugInstance bugInstance)Determine whether or not the given BugInstance has the feature this Matcher tests for.java.lang.StringtoString()voidwriteXML(XMLOutput xmlOutput, boolean disabled)
-
-
-
Field Detail
-
LOG
private static final org.slf4j.Logger LOG
-
annotationName
private final NameMatch annotationName
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
match
public boolean match(BugInstance bugInstance)
Description copied from interface:MatcherDetermine whether or not the given BugInstance has the feature this Matcher tests for.
-
-