docs: public static <S,T> List<T> collect(Iterator<S> self, @ClosureParams(FirstParam.FirstGenericType.class) Closure<T> transform) {
          return (List<T>) collect(self, new ArrayList<T>(), transform);
      }