docs: public static <T> Iterator<T> each(Iterator<T> self, @ClosureParams(FirstParam.FirstGenericType.class) Closure closure) {
          while (self.hasNext()) {
              Object arg = self.next();
              closure.call(arg);
          }
          return self;
      }