void (@NotNull LookupElementPresentation presentation) { presentation.setItemText("(" + type.getPresentableText() + ")"); PsiClass aClass = PsiUtil.resolveClassInClassTypeOnly(type); if (aClass != null) { presentation.setIcon(aClass.getIcon(0)); } }