default void exit(boolean force, boolean exitConfirmed, int exitCode) {
    int flags = SAVE;
    if (force) {
      flags |= FORCE_EXIT;
    }
    if (exitConfirmed) {
      flags |= EXIT_CONFIRMED;
    }
    exit(flags, exitCode);
  }
default void exit(boolean force, boolean exitConfirmed, int exitCode)