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