Annotation Interface Completion


Represents a tab completion for a command.

This will register at class level, and does not retain method information. As a result, you only need to register the arguments a single time, and it will always be used in tab completions.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    An array of possible arguments for this particular index, represented by index().
    int
     
  • Element Details

    • args

      String[] args
      An array of possible arguments for this particular index, represented by index().
      Returns:
      An array of possible arguments for tab completion.
    • index

      int index
      Returns:
      The index in which these arguments should be shown.