It would be very useful to have the parameter CommandArgs to method getSuggestions in Provider class.
Example:
/** * Get a list of suggestions for the given parameter and user arguments. * * <p>If no suggestions could be enumerated, an empty list should * be returned.</p> * * @param arguments The arguments * @param prefix What the user has typed so far (may be an empty string) * @return A list of suggestions */List<String> getSuggestions(CommandArgsarguments, Stringprefix);
It would be very useful to have the parameter CommandArgs to method getSuggestions in Provider class.
Example: