private static class Pointcuts.GetterPointcut extends StaticMethodMatcherPointcut implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static Pointcuts.GetterPointcut |
INSTANCE |
TRUE
Modifier | Constructor and Description |
---|---|
private |
GetterPointcut() |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(java.lang.reflect.Method method,
java.lang.Class<?> targetClass)
Perform static checking whether the given method matches.
|
private java.lang.Object |
readResolve() |
getClassFilter, getMethodMatcher, setClassFilter
isRuntime, matches
public static Pointcuts.GetterPointcut INSTANCE
public boolean matches(java.lang.reflect.Method method, java.lang.Class<?> targetClass)
MethodMatcher
false
or if the MethodMatcher.isRuntime()
method
returns false
, no runtime check (i.e. no.
MethodMatcher.matches(java.lang.reflect.Method, Class, Object[])
call) will be made.matches
in interface MethodMatcher
method
- the candidate methodtargetClass
- the target class (may be null
, in which case
the candidate class must be taken to be the method's declaring class)private java.lang.Object readResolve()