public class CompositeFilter extends MethodFilter
MethodFilters, returning
true only if each filter does. The tests short-circuit with the first filter
to return false.| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public CompositeFilter(java.util.List filters)
filters - List of MethodFilter.public boolean matchMethod(MethodSignature sig)
MethodFiltermatchMethod in class MethodFilter