public static MetaClass getMetaClass(Class<?> clazz) {
    return InvokerHelper.getMetaClass(clazz);
  }
Provides convenient access to Groovy language and runtime features.
By convention, all usages of Groovy's InvokerHelper and
ScriptBytecodeAdapter go through this class.

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