Uses of Interface
org.springframework.core.annotation.AnnotationFilter
Package
Description
Core support package for annotations, meta-annotations, and merged
annotations with attribute overrides.
-
Uses of AnnotationFilter in org.springframework.core.annotation
Modifier and TypeFieldDescriptionstatic final AnnotationFilter
AnnotationFilter.ALL
AnnotationFilter
that always matches and can be used when no relevant annotation types are expected to be present at all.static final AnnotationFilter
AnnotationFilter.JAVA
static final AnnotationFilter
AnnotationFilter.NONE
Deprecated.static final AnnotationFilter
AnnotationFilter.PLAIN
AnnotationFilter
that matches annotations in thejava.lang
andorg.springframework.lang
packages and their subpackages.Modifier and TypeMethodDescriptionstatic AnnotationFilter
Create a newAnnotationFilter
that matches annotations in the specified packages.Modifier and TypeMethodDescriptionstatic MergedAnnotations
MergedAnnotations.from
(Object source, Annotation[] annotations, RepeatableContainers repeatableContainers, AnnotationFilter annotationFilter) Create a newMergedAnnotations
instance from the specified annotations.static MergedAnnotations
MergedAnnotations.from
(AnnotatedElement element, MergedAnnotations.SearchStrategy searchStrategy, RepeatableContainers repeatableContainers, AnnotationFilter annotationFilter) Create a newMergedAnnotations
instance containing all annotations and meta-annotations from the specified element and, depending on theMergedAnnotations.SearchStrategy
, related inherited elements.MergedAnnotations.Search.withAnnotationFilter
(AnnotationFilter annotationFilter) Configure theAnnotationFilter
to use.
MergedAnnotations
model always ignores lang annotations according to thePLAIN
filter (for efficiency reasons)