docs: public static <T> Collection<T> takeWhile(Iterable<T> self, @ClosureParams(FirstParam.FirstGenericType.class) Closure condition) {
          Collection<T> result = createSimilarCollection(self);
          addAll(result, takeWhile(self.iterator(), condition));
          return result;
      }