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