| 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. | 
| org.springframework.core.type.classreading | Support classes for reading annotation and class-level metadata. | 
| Modifier and Type | Method and Description | 
|---|---|
| static MergedAnnotations | MergedAnnotations. from(AnnotatedElement element)Create a new  MergedAnnotationsinstance containing all
 annotations and meta-annotations from the specified element. | 
| static MergedAnnotations | MergedAnnotations. from(AnnotatedElement element,
    MergedAnnotations.SearchStrategy searchStrategy)Create a new  MergedAnnotationsinstance 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)Create a new  MergedAnnotationsinstance 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 new  MergedAnnotationsinstance containing all
 annotations and meta-annotations from the specified element and,
 depending on theMergedAnnotations.SearchStrategy, related inherited elements. | 
| static MergedAnnotations | MergedAnnotations. from(Annotation... annotations)Create a new  MergedAnnotationsinstance from the specified
 annotations. | 
| static MergedAnnotations | MergedAnnotations. from(Object source,
    Annotation... annotations)Create a new  MergedAnnotationsinstance from the specified
 annotations. | 
| static MergedAnnotations | MergedAnnotations. from(Object source,
    Annotation[] annotations,
    RepeatableContainers repeatableContainers)Create a new  MergedAnnotationsinstance from the specified
 annotations. | 
| static MergedAnnotations | MergedAnnotations. from(Object source,
    Annotation[] annotations,
    RepeatableContainers repeatableContainers,
    AnnotationFilter annotationFilter)Create a new  MergedAnnotationsinstance from the specified
 annotations. | 
| static MergedAnnotations | MergedAnnotations. of(Collection<MergedAnnotation<?>> annotations)Create a new  MergedAnnotationsinstance from the specified
 collection of directly present annotations. | 
| Modifier and Type | Method and Description | 
|---|---|
| MergedAnnotations | AnnotatedTypeMetadata. getAnnotations()Return annotation details based on the direct annotations of the
 underlying element. | 
| MergedAnnotations | StandardAnnotationMetadata. getAnnotations() | 
| MergedAnnotations | StandardMethodMetadata. getAnnotations() | 
| Modifier and Type | Method and Description | 
|---|---|
| MergedAnnotations | MethodMetadataReadingVisitor. getAnnotations()Deprecated.  | 
| MergedAnnotations | AnnotationMetadataReadingVisitor. getAnnotations()Deprecated.  |