Class AnnotationMetadata
java.lang.Object
dev.voidframework.core.conditionalfeature.AnnotationMetadata
Annotation metadata.
- Since:
- 1.5.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AnnotationMetadataEmpty instance of annotation metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBoolean(String key) Gets value as boolean.boolean[]getBooleanArray(String key) Gets value as boolean array.charGets value as char.char[]getCharArray(String key) Gets value as char array.<T> Class<T>getClassType(String key) Gets value as class type.<T> Class<T>[]getClassTypeArray(String key) Gets value as class type array.<T extends Enum<?>>
TgetEnumeration(String key) Gets value as enumeration.<T extends Enum<?>>
T[]Gets value as enumeration array.intgetInteger(String key) Gets value as integer.int[]getIntegerArray(String key) Gets value as integer array.longGets value as long.long[]getLongArray(String key) Gets value as long array.Gets value as string.String[]getStringArray(String key) Gets value as string array.
-
Field Details
-
EMPTY
Empty instance of annotation metadata.- Since:
- 1.5.0
-
-
Method Details
-
getBoolean
Gets value as boolean.- Parameters:
key- Key whose associated value is to be returned- Returns:
- Value to which the specified key is mapped, otherwise
null - Since:
- 1.5.0
-
getBooleanArray
Gets value as boolean array.- Parameters:
key- Key whose associated value is to be returned- Returns:
- Value to which the specified key is mapped, otherwise
null - Since:
- 1.5.0
-
getChar
Gets value as char.- Parameters:
key- Key whose associated value is to be returned- Returns:
- Value to which the specified key is mapped, otherwise
null - Since:
- 1.5.0
-
getCharArray
Gets value as char array.- Parameters:
key- Key whose associated value is to be returned- Returns:
- Value to which the specified key is mapped, otherwise
null - Since:
- 1.5.0
-
getClassType
Gets value as class type.- Parameters:
key- Key whose associated value is to be returned- Returns:
- Value to which the specified key is mapped, otherwise
null - Since:
- 1.5.0
-
getClassTypeArray
Gets value as class type array.- Parameters:
key- Key whose associated value is to be returned- Returns:
- Value to which the specified key is mapped, otherwise
null - Since:
- 1.5.0
-
getEnumeration
Gets value as enumeration.- Parameters:
key- Key whose associated value is to be returned- Returns:
- Value to which the specified key is mapped, otherwise
null - Since:
- 1.5.0
-
getEnumerationArray
Gets value as enumeration array.- Parameters:
key- Key whose associated value is to be returned- Returns:
- Value to which the specified key is mapped, otherwise
null - Since:
- 1.5.0
-
getInteger
Gets value as integer.- Parameters:
key- Key whose associated value is to be returned- Returns:
- Value to which the specified key is mapped, otherwise
null - Since:
- 1.5.0
-
getIntegerArray
Gets value as integer array.- Parameters:
key- Key whose associated value is to be returned- Returns:
- Value to which the specified key is mapped, otherwise
null - Since:
- 1.5.0
-
getLong
Gets value as long.- Parameters:
key- Key whose associated value is to be returned- Returns:
- Value to which the specified key is mapped, otherwise
null - Since:
- 1.5.0
-
getLongArray
Gets value as long array.- Parameters:
key- Key whose associated value is to be returned- Returns:
- Value to which the specified key is mapped, otherwise
null - Since:
- 1.5.0
-
getString
Gets value as string.- Parameters:
key- Key whose associated value is to be returned- Returns:
- Value to which the specified key is mapped, otherwise
null - Since:
- 1.5.0
-
getStringArray
Gets value as string array.- Parameters:
key- Key whose associated value is to be returned- Returns:
- Value to which the specified key is mapped, otherwise
null - Since:
- 1.5.0
-