docs: public static <DPO> SingleResultCollectorContext<DPO> collect(ResultCollector<?, DPO> resultCollector) {
          List<Trigger> addedTriggers = new ArrayList<Trigger>();
          List<DataProvider<DPO>> addedDataProviders = new ArrayList<DataProvider<DPO>>();
          if (resultCollector != null) {
              addedTriggers.add(resultCollector);
              addedDataProviders.add(resultCollector);
          }
  
          return new SingleResultCollectorContext<DPO>(addedTriggers, addedDataProviders);
      }