if (ann != null) {
Class<?> clazz = ann.value();
String[] value = ann.values();
if (clazz != null) {
if (value.length > 0 && clazz == StringsCompleter.class) {
completer = new StringsCompleter(value, ann.caseSensitive());
} else {
completer = command.getCompleter(clazz);
}
}
} else {