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
FieldsModifier and TypeFieldDescription(package private) boolean
private static final org.slf4j.Logger
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
-
Field Details
-
LOG
private static final org.slf4j.Logger LOG -
anyMatches
transient boolean anyMatches
-
-
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
-