LookupElement (@NotNull Option option, @NotNull String text) { LookupElementBuilder res = LookupElementBuilder.create(text); if (option.getDescription() != null) { return TailTypeDecorator.withTail(res.withTypeText(option.getDescription(), true), TailTypes.insertSpaceType()); } return res; }