private[validators] def wrapSeqLikeValidator[T: ClassTag: Validator, C[_]]()

in elitzur-core/src/main/scala/com/spotify/elitzur/validators/Validator.scala [408:420]


  private[validators] def wrapSeqLikeValidator[T: ClassTag: Validator, C[_]](
      builderFn: () => mutable.Builder[T, C[T]]
  )(
      implicit reporter: MetricsReporter,
      toSeq: C[T] => IterableOnce[T],
      ev: ClassTag[C[T]]
  ): Validator[C[T]] = {
    if (implicitly[Validator[T]].shouldValidate) {
      new SeqLikeValidator[T, C](builderFn)
    } else {
      new IgnoreValidator[C[T]]
    }
  }