| Package | Description | 
|---|---|
| org.springframework.core.annotation | Core support package for annotations, meta-annotations, and merged
 annotations with attribute overrides. | 
| Modifier and Type | Field and Description | 
|---|---|
| static AnnotationFilter | AnnotationFilter. ALLAnnotationFilterthat always matches and can be used when no
 relevant annotation types are expected to be present at all. | 
| static AnnotationFilter | AnnotationFilter. JAVA | 
| static AnnotationFilter | AnnotationFilter. NONEAnnotationFilterthat never matches and can be used when no
 filtering is needed (allowing for any annotation types to be present). | 
| static AnnotationFilter | AnnotationFilter. PLAINAnnotationFilterthat matches annotations in thejava.langandorg.springframework.langpackages
 and their subpackages. | 
| Modifier and Type | Method and Description | 
|---|---|
| static AnnotationFilter | AnnotationFilter. packages(String... packages)Create a new  AnnotationFilterthat matches annotations in the
 specified packages. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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(Object source,
    Annotation[] annotations,
    RepeatableContainers repeatableContainers,
    AnnotationFilter annotationFilter)Create a new  MergedAnnotationsinstance from the specified
 annotations. |