if (valueMap.isEmpty() || valueMap.containsKey(option))
{
if (option.hasCustomCompleter())
{
CommandCompleter completer = BeanManagerUtils.getContextualInstance(manager, option.getCompleterType());
completer.complete(state);
}
else if (option.isEnum())
{
@SuppressWarnings("unchecked")
EnumCompleter completer = new EnumCompleter((Class<Enum<?>>) option.getType());