edu.umd.cs.findbugs.gui2
Class CompoundMatcher
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<Matcher>
edu.umd.cs.findbugs.gui2.CompoundMatcher
- All Implemented Interfaces:
- Matcher, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Matcher>, java.util.Collection<Matcher>, java.util.Set<Matcher>
Deprecated.
@Deprecated
public class CompoundMatcher
- extends java.util.HashSet<Matcher>
- implements Matcher
Holds a bunch of matchers, and only matches a bug if all
the submatchers match it. Matchetymatch.
- See Also:
- Serialized Form
Method Summary |
boolean |
match(BugInstance bugInstance)
Deprecated. Determine whether or not the given BugInstance has the
feature this Matcher tests for. |
void |
writeXML(XMLOutput xmlOutput,
boolean disabled)
Deprecated. |
Methods inherited from class java.util.HashSet |
add, clear, clone, contains, isEmpty, iterator, remove, size |
Methods inherited from class java.util.AbstractSet |
equals, hashCode, removeAll |
Methods inherited from class java.util.AbstractCollection |
addAll, containsAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Set |
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray |
CompoundMatcher
public CompoundMatcher()
- Deprecated.
match
public boolean match(BugInstance bugInstance)
- Deprecated.
- Description copied from interface:
Matcher
- Determine whether or not the given BugInstance has the
feature this Matcher tests for.
- Specified by:
match
in interface Matcher
- 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
- Deprecated.
- Specified by:
writeXML
in interface Matcher
- Throws:
java.io.IOException
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.