public class PatternFilter extends Object implements MethodFilter
| Modifier and Type | Field and Description |
|---|---|
static String |
GETTER_SETTER_PATTERN |
| Constructor and Description |
|---|
PatternFilter(String pattern) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(Method method)
Returns whether or not this filter accepts this method.
|
static MethodFilter |
getterSetterFilter()
Returns a
MethodFilter which accepts only "getters" and "setters." |
public static String GETTER_SETTER_PATTERN
public PatternFilter(String pattern)
public static MethodFilter getterSetterFilter()
MethodFilter which accepts only "getters" and "setters."MethodFilter which accepts only "getters" and "setters."public boolean accepts(Method method)
MethodFilteraccepts in interface MethodFiltermethod - the methodCopyright © 2005-2013 Apache Software Foundation. All Rights Reserved.