Uses of Class
org.springframework.core.annotation.RepeatableContainers
Packages that use RepeatableContainers
Package
Description
Core support package for annotations, meta-annotations, and merged
annotations with attribute overrides.
-
Uses of RepeatableContainers in org.springframework.core.annotation
Methods in org.springframework.core.annotation that return RepeatableContainersModifier and TypeMethodDescriptionRepeatableContainers.and(Class<? extends Annotation> container, Class<? extends Annotation> repeatable) Add an additional explicit relationship between a contained and repeatable annotation.static RepeatableContainersRepeatableContainers.none()Create aRepeatableContainersinstance that does not expand any repeatable annotations.static RepeatableContainersRepeatableContainers.of(Class<? extends Annotation> repeatable, Class<? extends Annotation> container) Create aRepeatableContainersinstance that uses a defined container and repeatable type.static RepeatableContainersRepeatableContainers.standardRepeatables()Create aRepeatableContainersinstance that searches using Java's@Repeatableannotation.Methods in org.springframework.core.annotation with parameters of type RepeatableContainersModifier and TypeMethodDescriptionstatic MergedAnnotationsMergedAnnotations.from(Object source, Annotation[] annotations, RepeatableContainers repeatableContainers) Create a newMergedAnnotationsinstance from the specified annotations.static 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) Create a newMergedAnnotationsinstance containing all annotations and meta-annotations from the specified element and, depending on theMergedAnnotations.SearchStrategy, related inherited elements.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.