docs: public static <DPO> SingleResultCollectorContext<DPO> collect(SimpleValidator<?, ?, ?, ?, ?, ?,
              ResultHandler<DPO>, DPO> validator) {
          List<Trigger> addedTriggers = new ArrayList<Trigger>();
          List<DataProvider<DPO>> addedDataProviders = new ArrayList<DataProvider<DPO>>();
          if (validator != null) {
              // Create result collector
              SimpleResultCollector<DPO> resultCollector = new SimpleResultCollector<DPO>();
  
              // Register result collector in specified validator
              validator.addResultHandler(resultCollector);
  
              // Result result collector in validator under construction
              addedTriggers.add(resultCollector);
              addedDataProviders.add(resultCollector);
          }
  
          return new SingleResultCollectorContext<DPO>(addedTriggers, addedDataProviders);
      }