public static void suggestRestartIfNecessary(@Nullable JComponent parentComponent) {
    if (Registry.getInstance().isRestartNeeded()) {
      suggestRestart(parentComponent);
    }
  }
public static void suggestRestartIfNecessary(@Nullable JComponent parentComponent)