Annotation Type Option
-
@Target(ANNOTATION_TYPE) @Retention(RUNTIME) @Documented public @interface OptionDescribes an optional argument to a command.- Author:
- cdivilly
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description TranslatableTextdescriptionDescription of the optional argument's purposejava.lang.StringnameThe name of the option
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanhasArgumentIndicates if the option takes a valuejava.lang.Class<?>typeThe type of the option value
-
-
-
-
description
TranslatableText description
Description of the optional argument's purpose- Returns:
- option description
-
-