Annotation Type TranslatableText
-
@Retention(RUNTIME) @Documented @Target(ANNOTATION_TYPE) public @interface TranslatableTextAnnotation that represents aTranslatable- Author:
- cdivilly
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringidThe key of theTranslatableas identified in the specified classjava.lang.Class<?>typeThe type where theTranslatabletext is stored
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String[]argumentsThe arguments to theTranslatablemessage
-
-
-
Element Detail
-
type
java.lang.Class<?> type
The type where theTranslatabletext is stored- Returns:
- message type
-
-
-
id
java.lang.String id
The key of theTranslatableas identified in the specified class- Returns:
- message id
-
-
-
arguments
java.lang.String[] arguments
The arguments to theTranslatablemessage- Returns:
- message arguments
- Default:
- {}
-
-