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 TypeMethodDescriptionbooleanmatch(BugInstance bugInstance) Determine whether or not the given BugInstance has the feature this Matcher tests for.inttoString()voidMethods 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:MatcherDetermine 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:
toStringin classCompoundMatcher
-
maxChildren
public int maxChildren()- Overrides:
maxChildrenin classCompoundMatcher
-
originalMatcher
-