private @Nullable Icon getDarkIcon(@Nullable Icon icon) {
    if (icon == null) {
      return null;
    }

    long startNs = actionStats == null ? 0 : System.nanoTime();
    icon = IconLoader.getDarkIcon(icon, true);
    if (actionStats != null) {
      actionStats.iconGetDarkDurationNs += System.nanoTime() - startNs;
    }

    return icon;
  }
private @Nullable Icon getDarkIcon(@Nullable Icon icon)