public final void processOnDone(@NotNull Runnable runnable, boolean requiresDone) {
    if (requiresDone) {
      doWhenDone(runnable);
      return;
    }
    runnable.run();
  }
public final void processOnDone(@NotNull Runnable runnable, boolean requiresDone)