Example usage for Java org.springframework.core.annotation AnnotationAttributes fields, constructors, methods, implement or subclass
The text is from its open source code.
Class | annotationType |
AnnotationAttributes(int initialCapacity) Create a new, empty AnnotationAttributes instance with the given initial capacity to optimize performance. | |
AnnotationAttributes(Map Create a new AnnotationAttributes instance, wrapping the provided map and all its key-value pairs. | |
AnnotationAttributes(AnnotationAttributes other) Create a new AnnotationAttributes instance, wrapping the provided map and all its key-value pairs. | |
AnnotationAttributes(Class extends Annotation> annotationType) Create a new, empty AnnotationAttributes instance for the specified annotationType . | |
AnnotationAttributes(Class extends Annotation> annotationType, boolean validated) Create a possibly already validated new, empty AnnotationAttributes instance for the specified annotationType . | |
AnnotationAttributes(String annotationType, @Nullable ClassLoader classLoader) Create a new, empty AnnotationAttributes instance for the specified annotationType . | |
AnnotationAttributes() Create a new, empty AnnotationAttributes instance. |
AnnotationAttributes | fromMap(@Nullable Map Return an AnnotationAttributes instance based on the given map. |
AnnotationAttributes[] | getAnnotationArray(String attributeName) Get the array of AnnotationAttributes stored under the specified attributeName . |
boolean | getBoolean(String attributeName) Get the value stored under the specified attributeName as a boolean. |
Class extends T> | getClass(String attributeName) Get the value stored under the specified attributeName as a class. |
Class>[] | getClassArray(String attributeName) Get the value stored under the specified attributeName as an array of classes. |
E | getEnum(String attributeName) Get the value stored under the specified attributeName as an enum. |
N | getNumber(String attributeName) Get the value stored under the specified attributeName as a number. |
String | getString(String attributeName) Get the value stored under the specified attributeName as a string. |
String[] | getStringArray(String attributeName) Get the value stored under the specified attributeName as an array of strings. |