private <T> List<T> collectAllFromIterable(Function<SpecInfo, Iterable<T>> getter) {
    List<T> result = new ArrayList<>();
    collectAll(result, getter, (a, i) -> i.forEach(a::add));
    return result;
  }
Runtime information about a Spock specification.

@author Peter Niederwieser
spock-core/src/main/java/org/spockframework/runtime/model/SpecInfo.java