public void filterFeatures(final IFeatureFilter filter) {
    for (FeatureInfo feature : getAllFeatures()) {
      if (!filter.matches(feature))
        feature.setExcluded(true);
    }
  }
Runtime information about a Spock specification.

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