@ApiStatus.Experimental
  @NotNull
  public static DataContext getDataContext(@NotNull Object buildId, @NotNull BuildProgressListener buildListener,
                                           @Nullable ComponentContainer container) {
    DataContext dataContext;
    if (buildListener instanceof BuildView) {
      dataContext = new MyDelegatingDataContext((BuildView)buildListener);
    }
    else if (buildListener instanceof AbstractViewManager) {
      dataContext = getDataContext(buildId, (AbstractViewManager)buildListener);
    }
    else if (container != null) {
      dataContext = new MyDelegatingDataContext(container);
    }
    else {
      LOG.error("BuildView or AbstractViewManager expected to obtain proper DataContext for build console quick fixes, " +
                "listener class: " + buildListener.getClass().getName() + ", container: " + container);
      dataContext = DataContext.EMPTY_CONTEXT;
    }
    return dataContext;
  }
@ApiStatus.Experimental
  @NotNull
  public static DataContext getDataContext(@NotNull Object buildId, @NotNull BuildProgressListener buildListener,
                                           @Nullable ComponentContainer container)