public static Icon getIcon(@NotNull Object o) {
    if (o instanceof Iconable) {
      Icon icon = ((Iconable)o).getIcon(Iconable.ICON_FLAG_READ_STATUS);
      if (icon != null) {
        return icon;
      }
    }
    if (o instanceof DomElement) {
      return ((DomElement)o).getPresentation().getIcon();
    }

    return getIconOld(o);
  }
public static Icon getIcon(@NotNull Object o)