Package | Description |
---|---|
org.springframework.core.annotation |
Core support package for annotations, meta-annotations, and merged
annotations with attribute overrides.
|
Modifier and Type | Method and Description |
---|---|
static MergedAnnotations.SearchStrategy |
MergedAnnotations.SearchStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MergedAnnotations.SearchStrategy[] |
MergedAnnotations.SearchStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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. |