Package edu.umd.cs.findbugs.filter
Class OrMatcher
- java.lang.Object
-
- edu.umd.cs.findbugs.filter.CompoundMatcher
-
- edu.umd.cs.findbugs.filter.OrMatcher
-
- All Implemented Interfaces:
Matcher
- Direct Known Subclasses:
Filter
public class OrMatcher extends CompoundMatcher
-
-
Field Summary
-
Fields inherited from class edu.umd.cs.findbugs.filter.CompoundMatcher
children
-
-
Constructor Summary
Constructors Constructor Description OrMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatch(BugInstance bugInstance)Determine whether or not the given BugInstance has the feature this Matcher tests for.java.lang.StringtoString()voidwriteXML(XMLOutput xmlOutput, boolean disabled)-
Methods inherited from class edu.umd.cs.findbugs.filter.CompoundMatcher
addChild, childIterator, clear, equals, getChildren, hashCode, maxChildren, numberChildren, removeChild, writeChildrenXML
-
-
-
-
Method Detail
-
match
public boolean match(BugInstance bugInstance)
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
public void writeXML(XMLOutput xmlOutput, boolean disabled) throws java.io.IOException
- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classCompoundMatcher
-
-