void (@NotNull LookupElementPresentation presentation) { final PsiClass psiClass = getPsiClass(); if (psiClass != null) { presentation.setIcon(psiClass.getIcon(Iconable.ICON_FLAG_VISIBILITY)); presentation.setTailText(" (" + PsiFormatUtil.getPackageDisplayName(psiClass) + ")", true); } final PsiType type = getPsiType(); presentation.setItemText(type.getPresentableText()); presentation.setItemTextBold(type instanceof PsiPrimitiveType); }