LookupElement (@NotNull String name, @NotNull PsiElement element, boolean withIcon) { final LookupElementBuilder builder = LookupElementBuilder.createWithSmartPointer(name, element); return withIcon ? builder.withIcon(element.getIcon(0)) : builder; }