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.
|
org.springframework.util |
Miscellaneous utility classes, such as String manipulation utilities,
a Log4J configurer, and a state holder for paged lists of objects.
|
Modifier and Type | Method and Description |
---|---|
static MultiValueMap<String,Object> |
AnnotatedElementUtils.getAllAnnotationAttributes(AnnotatedElement element,
String annotationName)
Get the annotation attributes of all annotations of the specified
annotationName in the annotation hierarchy above the supplied
AnnotatedElement and store the results in a MultiValueMap . |
static MultiValueMap<String,Object> |
AnnotatedElementUtils.getAllAnnotationAttributes(AnnotatedElement element,
String annotationName,
boolean classValuesAsString,
boolean nestedAnnotationsAsMap)
Get the annotation attributes of all annotations of
the specified
annotationName in the annotation hierarchy above
the supplied AnnotatedElement and store the results in a
MultiValueMap . |
Modifier and Type | Method and Description |
---|---|
static <A extends Annotation> |
MergedAnnotationCollectors.toMultiValueMap(Function<MultiValueMap<String,Object>,MultiValueMap<String,Object>> finisher,
MergedAnnotation.Adapt... adaptations)
Create a new
Collector that accumulates merged annotations to a
MultiValueMap with items added from each merged annotation
as a map. |
static <A extends Annotation> |
MergedAnnotationCollectors.toMultiValueMap(MergedAnnotation.Adapt... adaptations)
Create a new
Collector that accumulates merged annotations to a
MultiValueMap with items added from each merged annotation
as a map. |
Modifier and Type | Method and Description |
---|---|
static <A extends Annotation> |
MergedAnnotationCollectors.toMultiValueMap(Function<MultiValueMap<String,Object>,MultiValueMap<String,Object>> finisher,
MergedAnnotation.Adapt... adaptations)
Create a new
Collector that accumulates merged annotations to a
MultiValueMap with items added from each merged annotation
as a map. |
static <A extends Annotation> |
MergedAnnotationCollectors.toMultiValueMap(Function<MultiValueMap<String,Object>,MultiValueMap<String,Object>> finisher,
MergedAnnotation.Adapt... adaptations)
Create a new
Collector that accumulates merged annotations to a
MultiValueMap with items added from each merged annotation
as a map. |
Modifier and Type | Method and Description |
---|---|
default MultiValueMap<String,Object> |
AnnotatedTypeMetadata.getAllAnnotationAttributes(String annotationName)
Retrieve all attributes of all annotations of the given type, if any (i.e.
|
MultiValueMap<String,Object> |
StandardMethodMetadata.getAllAnnotationAttributes(String annotationName,
boolean classValuesAsString) |
MultiValueMap<String,Object> |
StandardAnnotationMetadata.getAllAnnotationAttributes(String annotationName,
boolean classValuesAsString) |
default MultiValueMap<String,Object> |
AnnotatedTypeMetadata.getAllAnnotationAttributes(String annotationName,
boolean classValuesAsString)
Retrieve all attributes of all annotations of the given type, if any (i.e.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,Object> |
AnnotationMetadataReadingVisitor.getAllAnnotationAttributes(String annotationName,
boolean classValuesAsString)
Deprecated.
|
MultiValueMap<String,Object> |
MethodMetadataReadingVisitor.getAllAnnotationAttributes(String annotationName,
boolean classValuesAsString)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
LinkedMultiValueMap<K,V>
Simple implementation of
MultiValueMap that wraps a LinkedHashMap ,
storing multiple values in an ArrayList . |
class |
MultiValueMapAdapter<K,V>
Adapts a given
Map to the MultiValueMap contract. |
Modifier and Type | Method and Description |
---|---|
static <K,V> MultiValueMap<K,V> |
CollectionUtils.toMultiValueMap(Map<K,List<V>> targetMap)
Adapt a
Map<K, List<V>> to an MultiValueMap<K, V> . |
static <K,V> MultiValueMap<K,V> |
CollectionUtils.unmodifiableMultiValueMap(MultiValueMap<? extends K,? extends V> targetMap)
Return an unmodifiable view of the specified multi-value map.
|
Modifier and Type | Method and Description |
---|---|
void |
MultiValueMapAdapter.addAll(MultiValueMap<K,V> values) |
void |
MultiValueMap.addAll(MultiValueMap<K,V> values)
Add all the values of the given
MultiValueMap to the current values. |
static <K,V> MultiValueMap<K,V> |
CollectionUtils.unmodifiableMultiValueMap(MultiValueMap<? extends K,? extends V> targetMap)
Return an unmodifiable view of the specified multi-value map.
|