Package edu.umd.cs.findbugs.filter
Class AndMatcher
java.lang.Object
edu.umd.cs.findbugs.filter.CompoundMatcher
edu.umd.cs.findbugs.filter.AndMatcher
- 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
boolean
match
(BugInstance bugInstance) Determine whether or not the given BugInstance has the feature this Matcher tests for.toString()
void
Methods inherited from class edu.umd.cs.findbugs.filter.CompoundMatcher
addChild, childIterator, clear, equals, getChildren, hashCode, maxChildren, numberChildren, removeChild, writeChildrenXML
-
Constructor Details
-
AndMatcher
public AndMatcher()
-
-
Method Details
-
anyMatches
public boolean anyMatches() -
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
-