@Override
  public void visitSpecAnnotations(List<ConfineMetaClassChanges> annotations, SpecInfo spec) {
    addInterceptor(annotations, spec.getBottomSpec());
    spec.getBottomSpec().addExclusiveResource(EXCLUSIVE_RESOURCE);
  }
@author Luke Daley
@author Peter Niederwieser
spock-core/src/main/java/org/spockframework/runtime/extension/builtin/ConfineMetaClassChangesExtension.java