Package edu.umd.cs.findbugs.filter
Class BugMatcher
- java.lang.Object
-
- edu.umd.cs.findbugs.filter.BugMatcher
-
-
Constructor Summary
Constructors Constructor Description BugMatcher(java.lang.String codes, java.lang.String patterns, java.lang.String categories)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttribute(XMLOutput xmlOutput, java.lang.String name, StringSetMatch matches)booleanequals(java.lang.Object o)inthashCode()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)
-
-
-
Method Detail
-
match
public boolean match(BugInstance bugInstance)
Description copied from interface:MatcherDetermine whether or not the given BugInstance has the feature this Matcher tests for.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
writeXML
public void writeXML(XMLOutput xmlOutput, boolean disabled) throws java.io.IOException
-
addAttribute
public void addAttribute(XMLOutput xmlOutput, java.lang.String name, StringSetMatch matches) throws java.io.IOException
- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-