@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
public @interface Command
This can be used alone on methods, or can be added on a class to automatically mark all methods inside the class as children of the given command.
Note that, it is possible to dynamically construct a substitute for
this annotation at runtime using Orphans.
Orphans| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String[] |
value
The command main name, and aliases if any.
|