private static class Pointcuts.SetterPointcut extends StaticMethodMatcherPointcut implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static Pointcuts.SetterPointcut |
INSTANCE |
TRUE
Modifier | Constructor and Description |
---|---|
private |
SetterPointcut() |
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() |
java.lang.String |
toString() |
getClassFilter, getMethodMatcher, setClassFilter
isRuntime, matches
public static final Pointcuts.SetterPointcut INSTANCE
public boolean matches(java.lang.reflect.Method method, java.lang.Class<?> targetClass)
MethodMatcher
If this returns 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 classprivate java.lang.Object readResolve()
public java.lang.String toString()
toString
in class java.lang.Object