Package edu.umd.cs.findbugs.filter
Class CompoundMatcher
- java.lang.Object
-
- edu.umd.cs.findbugs.filter.CompoundMatcher
-
- All Implemented Interfaces:
Matcher
- Direct Known Subclasses:
AndMatcher
,NotMatcher
,OrMatcher
public abstract class CompoundMatcher extends java.lang.Object implements Matcher
-
-
Constructor Summary
Constructors Constructor Description CompoundMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChild(Matcher child)
java.util.Iterator<Matcher>
childIterator()
protected void
clear()
boolean
equals(java.lang.Object o)
java.util.Collection<Matcher>
getChildren()
int
hashCode()
int
maxChildren()
protected int
numberChildren()
protected void
removeChild(Matcher child)
java.lang.String
toString()
void
writeChildrenXML(XMLOutput xmlOutput)
-
-
-
Field Detail
-
children
protected java.util.LinkedHashSet<Matcher> children
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
numberChildren
protected int numberChildren()
-
addChild
public void addChild(Matcher child)
-
removeChild
protected void removeChild(Matcher child)
-
clear
protected void clear()
-
getChildren
public java.util.Collection<Matcher> getChildren()
-
childIterator
public java.util.Iterator<Matcher> childIterator()
-
writeChildrenXML
public void writeChildrenXML(XMLOutput xmlOutput) throws java.io.IOException
- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
maxChildren
public int maxChildren()
-
-