String (CompletionParameters parameters) { return DumbModeAccessType.RELIABLE_DATA_ONLY.ignoreDumbMode(() -> { return CompletionContributor.forParameters(parameters) .stream() .map(c -> c.handleEmptyLookup(parameters, getEditor())) .filter(StringUtil::isNotEmpty) .findFirst() .orElse(LangBundle.message("completion.no.suggestions")); }); }