Uses of Class
org.springframework.core.annotation.RepeatableContainers
Packages that use RepeatableContainers Package Description org.springframework.core.annotation 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 RepeatableContainers Modifier and Type Method Description RepeatableContainers
RepeatableContainers. and(Class<? extends Annotation> container, Class<? extends Annotation> repeatable)
Add an additional explicit relationship between a contained and repeatable annotation.static RepeatableContainers
RepeatableContainers. none()
Create aRepeatableContainers
instance that does not expand any repeatable annotations.static RepeatableContainers
RepeatableContainers. of(Class<? extends Annotation> repeatable, Class<? extends Annotation> container)
Create aRepeatableContainers
instance that uses a defined container and repeatable type.static RepeatableContainers
RepeatableContainers. standardRepeatables()
Create aRepeatableContainers
instance that searches using Java's@Repeatable
annotation.Methods in org.springframework.core.annotation with parameters of type RepeatableContainers Modifier and Type Method Description static MergedAnnotations
MergedAnnotations. from(Object source, Annotation[] annotations, RepeatableContainers repeatableContainers)
Create a newMergedAnnotations
instance from the specified annotations.static 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)
Create a newMergedAnnotations
instance containing all annotations and meta-annotations from the specified element and, depending on theMergedAnnotations.SearchStrategy
, related inherited elements.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.