Package edu.umd.cs.findbugs.filter
Class NotMatcher
- java.lang.Object
-
- edu.umd.cs.findbugs.filter.CompoundMatcher
-
- edu.umd.cs.findbugs.filter.NotMatcher
-
- All Implemented Interfaces:
Matcher
public class NotMatcher extends CompoundMatcher
-
-
Field Summary
-
Fields inherited from class edu.umd.cs.findbugs.filter.CompoundMatcher
children
-
-
Constructor Summary
Constructors Constructor Description NotMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
match(BugInstance bugInstance)
Determine whether or not the given BugInstance has the feature this Matcher tests for.int
maxChildren()
Matcher
originalMatcher()
java.lang.String
toString()
void
writeXML(XMLOutput xmlOutput, boolean disabled)
-
Methods inherited from class edu.umd.cs.findbugs.filter.CompoundMatcher
addChild, childIterator, clear, equals, getChildren, hashCode, numberChildren, removeChild, writeChildrenXML
-
-
-
-
Method Detail
-
match
public boolean match(BugInstance bugInstance)
Description copied from interface:Matcher
Determine whether or not the given BugInstance has the feature this Matcher tests for.- Parameters:
bugInstance
- the BugInstance- Returns:
- true if the BugInstance matches, false if not
-
writeXML
public void writeXML(XMLOutput xmlOutput, boolean disabled) throws java.io.IOException
- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classCompoundMatcher
-
maxChildren
public int maxChildren()
- Overrides:
maxChildren
in classCompoundMatcher
-
originalMatcher
public Matcher originalMatcher()
-
-