void (@NotNull CompletionResultSet result, @NotNull List<LookupElementBuilder> lookups, @NotNull InsertHandler<LookupElement> insertHandler) { if (!lookups.isEmpty()) { lookups.stream().map(l -> l.withInsertHandler(insertHandler)).forEach(result::addElement); } }