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