public static @Nullable Icon getIcon(@Nullable Icon icon, boolean selected) {
    return !selected || icon == null || StartupUiUtil.isUnderDarcula() ? icon : IconLoader.getDarkIcon(icon, true);
  }
public static @Nullable Icon getIcon(@Nullable Icon icon, boolean selected)