@Override
      public void renderElement(LookupElement element, LookupElementPresentation presentation) {
        final PsiField field = ObjectUtils.tryCast(element.getPsiElement(), PsiField.class);
        assert field != null;

        final String iconPath = element.getLookupString();
        presentation.setItemText(iconPath);

        presentation.setStrikeout(field.isDeprecated());

        final Icon resolveIcon = resolveIcon(field, iconPath);
        if (resolveIcon != null) {
          if (ProjectIconsAccessor.hasProperSize(resolveIcon)) {
            presentation.setIcon(resolveIcon);
          }
          else {
            presentation.setTailText(" (" + resolveIcon.getIconWidth() + "x" + resolveIcon.getIconHeight() + ")", true);
          }
        }
      }
@Override
      public void renderElement(LookupElement element, LookupElementPresentation presentation)