类 AnnotationClassFilter
java.lang.Object
infra.aop.support.annotation.AnnotationClassFilter
- 所有已实现的接口:
ClassFilter
Simple ClassFilter that looks for a specific Java 5 annotation
being present on a class.
- 从以下版本开始:
- 3.0
- 作者:
- Juergen Hoeller, TODAY 2021/2/2 13:00
- 另请参阅:
-
嵌套类概要
从接口继承的嵌套类/接口 infra.aop.ClassFilter
ClassFilter.IntersectionClassFilter, ClassFilter.NegateClassFilter, ClassFilter.UnionClassFilter -
字段概要
字段从接口继承的字段 infra.aop.ClassFilter
TRUE -
构造器概要
构造器构造器说明AnnotationClassFilter(Class<? extends Annotation> annotationType) Create a new AnnotationClassFilter for the given annotation type.AnnotationClassFilter(Class<? extends Annotation> annotationType, boolean checkInherited) Create a new AnnotationClassFilter for the given annotation type. -
方法概要
-
字段详细资料
-
checkInherited
private final boolean checkInherited -
annotationType
-
-
构造器详细资料
-
AnnotationClassFilter
Create a new AnnotationClassFilter for the given annotation type.- 参数:
annotationType- the annotation type to look for
-
AnnotationClassFilter
Create a new AnnotationClassFilter for the given annotation type.- 参数:
annotationType- the annotation type to look forcheckInherited- whether to also check the superclasses and interfaces as well as meta-annotations for the annotation type (i.e. whether to useAnnotatedElementUtils.hasAnnotation(AnnotatedElement, Class)semantics instead of standard JavaClass.isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation>))
-
-
方法详细资料
-
matches
从接口复制的说明:ClassFilterShould the pointcut apply to the given interface or target class?- 指定者:
matches在接口中ClassFilter- 参数:
clazz- the candidate target class- 返回:
- whether the advice should apply to the given target class
-
equals
-
hashCode
public int hashCode() -
toString
-