@ApiStatus.Experimental
  public @Nullable ExecutionEnvironment createExecutionEnvironment(@NotNull Project project, ProjectTask @NotNull ... tasks) {
    if (tasks.length == 0) return null;
    if (tasks.length == 1 && tasks[0] instanceof ExecuteRunConfigurationTask) {
      return createExecutionEnvironment(project, (ExecuteRunConfigurationTask)tasks[0], null);
    }
    return null;
  }
@ApiStatus.Experimental
  public @Nullable ExecutionEnvironment createExecutionEnvironment(@NotNull Project project, ProjectTask @NotNull ... tasks)