Icon (Icon icon, boolean selected, boolean hasFocus) { if (icon != null && !StartupUiUtil.isUnderDarcula() && Registry.is("ide.project.view.change.icon.on.selection", true) && selected && hasFocus) { return IconLoader.getDarkIcon(icon, true); } return icon; }