FindBugs™ 1.3.9

edu.umd.cs.findbugs.filter
Class OrMatcher

java.lang.Object
  extended by edu.umd.cs.findbugs.filter.CompoundMatcher
      extended by 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
OrMatcher()
           
 
Method Summary
 boolean match(BugInstance bugInstance)
          Determine whether or not the given BugInstance has the feature this Matcher tests for.
 java.lang.String toString()
           
 void writeXML(XMLOutput xmlOutput, boolean disabled)
           
 
Methods inherited from class edu.umd.cs.findbugs.filter.CompoundMatcher
addChild, childIterator, clear, equals, getChildren, hashCode, numberChildren, removeChild, writeChildrenXML
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrMatcher

public OrMatcher()
Method Detail

match

public boolean match(BugInstance bugInstance)
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

public void writeXML(XMLOutput xmlOutput,
                     boolean disabled)
              throws java.io.IOException
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class CompoundMatcher

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.