Annotation Type Argument
-
@Retention(RUNTIME) @Documented @Target(ANNOTATION_TYPE) public @interface ArgumentDescribes a required argument of aCommand. The final argument of a command may optionally take more than one value.- Author:
- cdivilly
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description TranslatableTextdescriptionTranslatabledescription of the argument's purposejava.lang.StringnameThe name of the argument
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Class<?>typeThe type of the argument's value
-
-
-
-
description
TranslatableText description
Translatabledescription of the argument's purpose- Returns:
- description of argument
-
-