public static Icon getIcon(@NotNull HighlightDisplayLevel level) {
    Icon icon = level.getIcon();
    return icon instanceof HighlightDisplayLevelColoredIcon
                 ? new ColorIcon(icon.getIconWidth(), ((HighlightDisplayLevelColoredIcon)icon).getColor())
                 : icon;
  }
public static Icon getIcon(@NotNull HighlightDisplayLevel level)