# Uses of Interface
org.springframework.core.annotation.MergedAnnotations

Packages that use MergedAnnotations
Package
Description
org.springframework.core.annotation
Core support package for annotations, meta-annotations, and merged annotations with attribute overrides.
org.springframework.core.type
Core support package for type introspection.

## Uses of MergedAnnotations in org.springframework.core.annotation

Methods in org.springframework.core.annotation that return MergedAnnotations
Modifier and Type
Method
Description
`static MergedAnnotations`
MergedAnnotations.`from(Annotation... annotations)`
Create a new `MergedAnnotations` instance from the specified annotations.
`static MergedAnnotations`
MergedAnnotations.`from(Object source, Annotation... annotations)`
Create a new `MergedAnnotations` instance from the specified annotations.
`static MergedAnnotations`
MergedAnnotations.`from(Object source, Annotation[] annotations, RepeatableContainers repeatableContainers)`
Create a new `MergedAnnotations` instance from the specified annotations.
`static MergedAnnotations`
MergedAnnotations.`from(Object source, Annotation[] annotations, RepeatableContainers repeatableContainers, AnnotationFilter annotationFilter)`
Create a new `MergedAnnotations` instance from the specified annotations.
`static MergedAnnotations`
MergedAnnotations.`from(AnnotatedElement element)`
Create a new `MergedAnnotations` instance containing all annotations and meta-annotations from the specified element.
`static MergedAnnotations`
MergedAnnotations.`from(AnnotatedElement element, MergedAnnotations.SearchStrategy searchStrategy)`
Create a new `MergedAnnotations` instance containing all annotations and meta-annotations from the specified element and, depending on the `MergedAnnotations.SearchStrategy`, related inherited elements.
`static MergedAnnotations`
MergedAnnotations.`from(AnnotatedElement element, MergedAnnotations.SearchStrategy searchStrategy, RepeatableContainers repeatableContainers)`
Create a new `MergedAnnotations` instance containing all annotations and meta-annotations from the specified element and, depending on the `MergedAnnotations.SearchStrategy`, related inherited elements.
`static MergedAnnotations`
MergedAnnotations.`from(AnnotatedElement element, MergedAnnotations.SearchStrategy searchStrategy, RepeatableContainers repeatableContainers, AnnotationFilter annotationFilter)`
Create a new `MergedAnnotations` instance containing all annotations and meta-annotations from the specified element and, depending on the `MergedAnnotations.SearchStrategy`, related inherited elements.
`MergedAnnotations`
MergedAnnotations.Search.`from(AnnotatedElement element)`
Perform a search for merged annotations beginning with the supplied `AnnotatedElement` (such as a `Class` or `Method`), using the configuration in this `Search` instance.
`static MergedAnnotations`
MergedAnnotations.`of(Collection<MergedAnnotation<?>> annotations)`
Create a new `MergedAnnotations` instance from the specified collection of directly present annotations.

## Uses of MergedAnnotations in org.springframework.core.type

Methods in org.springframework.core.type that return MergedAnnotations
Modifier and Type
Method
Description
`MergedAnnotations`
AnnotatedTypeMetadata.`getAnnotations()`
Get annotation details based on the direct annotations and meta-annotations of the underlying element.
`MergedAnnotations`
StandardAnnotationMetadata.`getAnnotations()`
`MergedAnnotations`
StandardMethodMetadata.`getAnnotations()`