Description
Consider following option:
@Option
private String primitiveField = "default value";
@Option
@Suggestable(value = "basedOnPrimitive", parameters =
)
private String basedOnPrimitive;
and suggestions method:
@Suggestions("basedOnPrimitive")
public SuggestionValues basedOnPrimitive(@Option("p") final String primitive) {
If user doesn't set new value for primitiveField option and pushes button which calls Suggestions method, the method gets null value on input. Default value is ignored.