completeOperation.addCompletionCandidates(completedCommands);
} else {
try (CommandContainer commandContainer = getCommand(
Parser.findFirstWord(completeOperation.getBuffer()),
completeOperation.getBuffer())) {
CommandLineCompletionParser completionParser = commandContainer
.getParser().getCompletionParser();
ParsedCompleteObject completeObject = completionParser
.findCompleteObject(completeOperation.getBuffer(),
completeOperation.getCursor());
completionParser.injectValuesAndComplete(completeObject,
commandContainer.getCommand(), completeOperation,
invocationProviders);
} catch (CommandLineParserException e) {
logger.warning(e.getMessage());
} catch (CommandNotFoundException ignored) {