Annotation Type 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
      java.lang.String id
      The key of the Translatable as identified in the specified class
      java.lang.Class<?> type
      The type where the Translatable text is stored
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String[] arguments
      The arguments to the Translatable message
    • Element Detail

      • type

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

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

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