@FunctionalInterface
public interface ClassFilter
Can be used as part of a Pointcut
or for the entire
targeting of an IntroductionAdvisor
.
Pointcut
,
MethodMatcher
Modifier and Type | Field and Description |
---|---|
static ClassFilter |
TRUE
Canonical instance of a ClassFilter that matches all classes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(java.lang.Class<?> clazz)
Should the pointcut apply to the given interface or target class?
|
static final ClassFilter TRUE