code: @Deprecated
      public static <D> RuleContext<D> collect(ResultCollector<?, D> resultCollector) {
          return new ResultCollectorContext().collect(resultCollector);
      }
docs: Adds the first result collector to the validator.
  
  @param resultCollector First result collector to be added.
  @param <D>             Type of data provided.
  @return Next component to continue building the validator.
  @deprecated Use
  {@link com.google.code.validationframework.base.validator.generalvalidator.dsl.GeneralValidatorBuilder}
  instead.