spock.util.mop
@Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) public @interface ConfineMetaClassChanges
If a spec class is annotated, the meta classes are restored to as they were before setupSpec() was executed, after cleanupSpec was executed.
If a feature method is annotated, the meta classes are restored to as they were after setup() was executed, before cleanup() is executed. For a data-driven feature method, meta classes are restored after each iteration.
public abstract Class<?>[] value