void (@NotNull RunContentDescriptor descriptor, @NotNull BooleanSupplier isUpToDate) { ProcessHandler processHandler = descriptor.getProcessHandler(); if (processHandler != null && !processHandler.isProcessTerminated()) { scheduleRestartOnTermination(descriptor, processHandler, isUpToDate); } else { restart(descriptor); } }