@Override
    public @NotNull Builder withUndoConfirmationPolicy(@NotNull UndoConfirmationPolicy policy) {
      if (myUndoConfirmationPolicy != null) throw new IllegalStateException("do not call withUndoConfirmationPolicy() several times");
      myUndoConfirmationPolicy = policy;
      return this;
    }
@Override
    public @NotNull Builder withUndoConfirmationPolicy(@NotNull UndoConfirmationPolicy policy)