| 程序包 | 说明 |
|---|---|
| org.springframework.core.annotation |
Core support package for annotations, meta-annotations, and composed
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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. |
| 限定符和类型 | 方法和说明 |
|---|---|
MultiValueMap<String,Object> |
AnnotatedTypeMetadata.getAllAnnotationAttributes(String annotationName)
Retrieve all attributes of all annotations of the given type, if any (i.e. if
defined on the underlying element, as direct annotation or meta-annotation).
|
MultiValueMap<String,Object> |
StandardAnnotationMetadata.getAllAnnotationAttributes(String annotationName) |
MultiValueMap<String,Object> |
StandardMethodMetadata.getAllAnnotationAttributes(String annotationName) |
MultiValueMap<String,Object> |
AnnotatedTypeMetadata.getAllAnnotationAttributes(String annotationName,
boolean classValuesAsString)
Retrieve all attributes of all annotations of the given type, if any (i.e. if
defined on the underlying element, as direct annotation or meta-annotation).
|
MultiValueMap<String,Object> |
StandardAnnotationMetadata.getAllAnnotationAttributes(String annotationName,
boolean classValuesAsString) |
MultiValueMap<String,Object> |
StandardMethodMetadata.getAllAnnotationAttributes(String annotationName,
boolean classValuesAsString) |
| 限定符和类型 | 方法和说明 |
|---|---|
MultiValueMap<String,Object> |
AnnotationMetadataReadingVisitor.getAllAnnotationAttributes(String annotationName) |
MultiValueMap<String,Object> |
MethodMetadataReadingVisitor.getAllAnnotationAttributes(String annotationName) |
MultiValueMap<String,Object> |
AnnotationMetadataReadingVisitor.getAllAnnotationAttributes(String annotationName,
boolean classValuesAsString) |
MultiValueMap<String,Object> |
MethodMetadataReadingVisitor.getAllAnnotationAttributes(String annotationName,
boolean classValuesAsString) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
LinkedMultiValueMap<K,V>
Simple implementation of
MultiValueMap that wraps a LinkedHashMap,
storing multiple values in a LinkedList. |
| 限定符和类型 | 方法和说明 |
|---|---|
static <K,V> MultiValueMap<K,V> |
CollectionUtils.toMultiValueMap(Map<K,List<V>> map)
Adapt a
Map<K, List<V>> to an MultiValueMap<K, V>. |
static <K,V> MultiValueMap<K,V> |
CollectionUtils.unmodifiableMultiValueMap(MultiValueMap<? extends K,? extends V> map)
Return an unmodifiable view of the specified multi-value map.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
LinkedMultiValueMap.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> map)
Return an unmodifiable view of the specified multi-value map.
|