切点表达式
ClassFilter 和 MethodMatcher
这两个接口都定义了一个叫做 mathes
的方法,用于匹配
ClassFilter
接口规范了类匹配器的行为
boolean matches(Class<?> clazz);
MethodMatcher
接口规范了方法匹配器的行为
boolean matches(Method method, Class<?> targetClass);
这两个接口都定义了一个叫做 mathes
的方法,用于匹配
ClassFilter
接口规范了类匹配器的行为
boolean matches(Class<?> clazz);
MethodMatcher
接口规范了方法匹配器的行为
boolean matches(Method method, Class<?> targetClass);