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
-
Field Summary
Fields inherited from class edu.umd.cs.findbugs.filter.CompoundMatcher
children
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
match
(BugInstance bugInstance) Determine whether or not the given BugInstance has the feature this Matcher tests for.int
toString()
void
Methods inherited from class edu.umd.cs.findbugs.filter.CompoundMatcher
addChild, childIterator, clear, equals, getChildren, hashCode, numberChildren, removeChild, writeChildrenXML
-
Constructor Details
-
NotMatcher
public NotMatcher()
-
-
Method Details
-
match
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
- Throws:
IOException
-
toString
- Overrides:
toString
in classCompoundMatcher
-
maxChildren
public int maxChildren()- Overrides:
maxChildren
in classCompoundMatcher
-
originalMatcher
-