LookupElement (LanguageResolvingUtil.LanguageDefinition o) { String displayName = o.displayName.get(); return LookupElementBuilder.create(o.clazz, o.id) .withIcon(o.icon) .withTailText(displayName == null ? null : " (" + displayName + ")") .withTypeText(o.type, true); }