void (@NotNull CompletionResult result) { LookupElementPresentation presentation = new LookupElementPresentation(); result.getLookupElement().renderElement(presentation); addElement(result.getLookupElement(), result.getSorter(), result.getPrefixMatcher(), presentation); }