| Modifier and Type | Method and Description |
|---|---|
static String |
createGlobString(String pattern) |
static MethodFilter |
matchAll()
Creates a MethodFilter instance that matches everything.
|
boolean |
matches(JavaMethod method)
Determines if a given method is matched by this filter.
|
boolean |
matches(String javaClassName,
String name,
Signature sig)
Determines if a given method with a given class and signature is matched by this filter.
|
boolean |
matchesClassName(String className)
Determines if a given class name is matched by this filter.
|
boolean |
matchesNothing()
Determines whether this is an empty filter that does not match anything.
|
static MethodFilter |
matchNothing()
Creates a MethodFilter instance that does not match anything.
|
static MethodFilter |
parse(String commaSeparatedPatterns)
Parses a string containing a list of comma separated, possibly negated filter patterns into a
filter.
|
String |
toString()
Returns a string representation of all the base filters in this filter set.
|
public static MethodFilter parse(String commaSeparatedPatterns)
public static MethodFilter matchNothing()
public static MethodFilter matchAll()
public boolean matchesNothing()
public String toString()
public boolean matches(JavaMethod method)
public boolean matches(String javaClassName, String name, Signature sig)
public boolean matchesClassName(String className)