Class AnnotationMetadata

java.lang.Object
dev.voidframework.core.conditionalfeature.AnnotationMetadata

public final class AnnotationMetadata extends Object
Annotation metadata.
Since:
1.5.0
  • Field Details

    • EMPTY

      public static final AnnotationMetadata EMPTY
      Empty instance of annotation metadata.
      Since:
      1.5.0
  • Method Details

    • getBoolean

      public boolean getBoolean(String key)
      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

      public boolean[] getBooleanArray(String key)
      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

      public char getChar(String key)
      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

      public char[] getCharArray(String key)
      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

      public <T> Class<T> getClassType(String key)
      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

      public <T> Class<T>[] getClassTypeArray(String key)
      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

      public <T extends Enum<?>> T getEnumeration(String key)
      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

      public <T extends Enum<?>> T[] getEnumerationArray(String key)
      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

      public int getInteger(String key)
      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

      public int[] getIntegerArray(String key)
      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

      public long getLong(String key)
      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

      public long[] getLongArray(String key)
      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

      public String getString(String key)
      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

      public String[] getStringArray(String key)
      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