@Deprecated(forRemoval = true)
  public static void executeProjectChangeAction(boolean synchronous, final @NotNull DisposeAwareProjectChange task) {
    if (!ApplicationManager.getApplication().isDispatchThread()) {
      TransactionGuard.getInstance().assertWriteSafeContext(ModalityState.defaultModalityState());
    }
    executeOnEdt(synchronous, () -> ApplicationManager.getApplication().runWriteAction(task));
  }
@Deprecated(forRemoval = true)
  public static void executeProjectChangeAction(boolean synchronous, final @NotNull DisposeAwareProjectChange task)