private void withProcessingManager(@NotNull Runnable runnable) {
    var processingManager = ExternalSystemProcessingManager.getInstance();
    try {
      processingManager.add(this);
      runnable.run();
    }
    finally {
      processingManager.release(getId());
    }
  }
private void withProcessingManager(@NotNull Runnable runnable)