private void runNotUnderWriteAction(@NotNull Runnable runnable) {
    Application application = ApplicationManager.getApplication();
    if (application.isWriteAccessAllowed()) {
      application.invokeLater(runnable, myVcs.getProject().getDisposed());
    }
    else {
      runnable.run();
    }
  }
private void runNotUnderWriteAction(@NotNull Runnable runnable)