Constructor and Description |
---|
BugMatcher(java.lang.String codes,
java.lang.String patterns,
java.lang.String categories)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(XMLOutput xmlOutput,
java.lang.String name,
StringSetMatch matches) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
match(BugInstance bugInstance)
Determine whether or not the given BugInstance has the feature this
Matcher tests for.
|
java.lang.String |
toString() |
void |
writeXML(XMLOutput xmlOutput,
boolean disabled) |
public BugMatcher(java.lang.String codes, java.lang.String patterns, java.lang.String categories)
codes
- comma-separated list of bug codespatterns
- coma-separated list of bug patterns.categories
- coma-separated list of bug categories.public boolean match(BugInstance bugInstance)
Matcher
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public void writeXML(XMLOutput xmlOutput, boolean disabled) throws java.io.IOException
public void addAttribute(XMLOutput xmlOutput, java.lang.String name, StringSetMatch matches) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.