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) booleanprivate static final org.slf4j.LoggerFields inherited from class CompoundMatcher
children -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanmatch(BugInstance bugInstance) Determine whether or not the given BugInstance has the feature this Matcher tests for.toString()voidMethods inherited from class 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: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
-