Uses of Interface
org.springframework.core.annotation.AnnotationFilter
Packages that use AnnotationFilter
Package
Description
Core support package for annotations, meta-annotations, and merged
annotations with attribute overrides.
-
Uses of AnnotationFilter in org.springframework.core.annotation
Fields in org.springframework.core.annotation declared as AnnotationFilterModifier and TypeFieldDescriptionstatic final AnnotationFilterAnnotationFilter.ALLAnnotationFilterthat always matches and can be used when no relevant annotation types are expected to be present at all.static final AnnotationFilterAnnotationFilter.JAVAstatic final AnnotationFilterAnnotationFilter.NONEDeprecated.static final AnnotationFilterAnnotationFilter.PLAINAnnotationFilterthat matches annotations in thejava.langandorg.springframework.langpackages and their subpackages.Methods in org.springframework.core.annotation that return AnnotationFilterModifier and TypeMethodDescriptionstatic AnnotationFilterCreate a newAnnotationFilterthat matches annotations in the specified packages.Methods in org.springframework.core.annotation with parameters of type AnnotationFilterModifier and TypeMethodDescriptionstatic MergedAnnotationsMergedAnnotations.from(Object source, Annotation[] annotations, RepeatableContainers repeatableContainers, AnnotationFilter annotationFilter) Create a newMergedAnnotationsinstance from the specified annotations.static MergedAnnotationsMergedAnnotations.from(AnnotatedElement element, MergedAnnotations.SearchStrategy searchStrategy, RepeatableContainers repeatableContainers, AnnotationFilter annotationFilter) Create a newMergedAnnotationsinstance containing all annotations and meta-annotations from the specified element and, depending on theMergedAnnotations.SearchStrategy, related inherited elements.
MergedAnnotationsmodel always ignores lang annotations according to thePLAINfilter (for efficiency reasons)