Annotation Interface CommandName


@Retention(RUNTIME) @Target(TYPE) public @interface CommandName
An annotation that includes the name of the command (without slashes or other prefixes).
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the command.
  • Element Details

    • value

      String value
      The name of the command.
      Returns:
      The name of the command without slashes or prefixes.