Java org.springframework.core.annotation AnnotationAttributes fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.core.annotation AnnotationAttributes fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.core.annotation AnnotationAttributes.

The text is from its open source code.

Field

Constructor

AnnotationAttributes(int initialCapacity)
Create a new, empty AnnotationAttributes instance with the given initial capacity to optimize performance.
AnnotationAttributes(Map 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 annotationType)
Create a new, empty AnnotationAttributes instance for the specified annotationType .
AnnotationAttributes(Class 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.

Method

AnnotationAttributesfromMap(@Nullable Map map)
Return an AnnotationAttributes instance based on the given map.
AnnotationAttributes[]getAnnotationArray(String attributeName)
Get the array of AnnotationAttributes stored under the specified attributeName .
booleangetBoolean(String attributeName)
Get the value stored under the specified attributeName as a boolean.
ClassgetClass(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.
EgetEnum(String attributeName)
Get the value stored under the specified attributeName as an enum.
NgetNumber(String attributeName)
Get the value stored under the specified attributeName as a number.
StringgetString(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.