@ApiStatus.Internal
  public void setDataContext(@NotNull DataContext dataContext) {
    myDataContext = CustomizedDataContext.withSnapshot(IdeUiService.getInstance().createAsyncDataContext(dataContext), sink -> {
      Module module = null;
      if (myRunnerAndConfigurationSettings != null &&
          myRunnerAndConfigurationSettings.getConfiguration() instanceof ModuleBasedConfiguration<?, ?> configuration) {
        module = configuration.getConfigurationModule().getModule();
      }
      if (module != null) {
        sink.set(PlatformCoreDataKeys.MODULE, module);
      }
      else {
        sink.setNull(PlatformCoreDataKeys.MODULE);
      }
    });
  }
@ApiStatus.Internal
  public void setDataContext(@NotNull DataContext dataContext)