Annotation Interface TranslatableText


@Retention(RUNTIME) @Documented @Target(ANNOTATION_TYPE) public @interface TranslatableText
Annotation that represents a Translatable
Author:
cdivilly
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The key of the Translatable as identified in the specified class
    The type where the Translatable text is stored
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The arguments to the Translatable message
  • Element Details

    • type

      Class<?> type
      The type where the Translatable text is stored
      Returns:
      message type
    • id

      String id
      The key of the Translatable as identified in the specified class
      Returns:
      message id
    • arguments

      String[] arguments
      The arguments to the Translatable message
      Returns:
      message arguments
      Default:
      {}