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