AnnotationMatchingPointcut(classAnnotationType: Class<out Annotation>)
Create a new AnnotationMatchingPointcut for the given annotation type.
classAnnotationType
- the annotation type to look for at the class level
AnnotationMatchingPointcut(classAnnotationType: Class<out Annotation>, checkInherited: Boolean)
Create a new AnnotationMatchingPointcut for the given annotation type.
classAnnotationType
- the annotation type to look for at the class level
checkInherited
- whether to also check the superclasses and interfaces as well as meta-annotations for the annotation type
See Also
AnnotationClassFilter#AnnotationClassFilter(Class, boolean)
AnnotationMatchingPointcut(@Nullable classAnnotationType: Class<out Annotation>, @Nullable methodAnnotationType: Class<out Annotation>)
Create a new AnnotationMatchingPointcut for the given annotation type.
classAnnotationType
- the annotation type to look for at the class level (can be null
)
methodAnnotationType
- the annotation type to look for at the method level (can be null
)
AnnotationMatchingPointcut(@Nullable classAnnotationType: Class<out Annotation>, @Nullable methodAnnotationType: Class<out Annotation>, checkInherited: Boolean)
Create a new AnnotationMatchingPointcut for the given annotation type.
classAnnotationType
- the annotation type to look for at the class level (can be null
)
methodAnnotationType
- the annotation type to look for at the method level (can be null
)
checkInherited
- whether to also check the superclasses and interfaces as well as meta-annotations for the annotation type
Since
5.0
See Also
AnnotationClassFilter#AnnotationClassFilter(Class, boolean)AnnotationMethodMatcher#AnnotationMethodMatcher(Class, boolean)