ate static Icon getIcon(@NotNull PsiNamedElement source) {
    Icon icon = source.getIcon(0);
    if (icon instanceof DeferredIcon) {
      icon = ((DeferredIcon)icon).evaluate();
    }
    return icon;
  }

  
ate static Icon getIcon(@NotNull PsiNamedElement source) {
 