|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hivemind.methodmatch.MethodFilter org.apache.hivemind.methodmatch.CompositeFilter
public class CompositeFilter
Runs a suite of MethodFilter
s, returning
true only if each filter does. The tests short-circuit with the first filter
to return false.
Constructor Summary | |
---|---|
CompositeFilter(java.util.List filters)
Creates a new composite filter; the list passed in is retained not copied and should not be changed futher by the caller. |
Method Summary | |
---|---|
boolean |
matchMethod(MethodSignature sig)
Analyzes the method (its name, its parameters, etc.) and returns true if the method matches the filter defined by a subclass. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompositeFilter(java.util.List filters)
filters
- List
of MethodFilter
.Method Detail |
---|
public boolean matchMethod(MethodSignature sig)
MethodFilter
matchMethod
in class MethodFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |