public static MetaClass getMetaClass ( Object obj ) { MetaClass mc = InvokerHelper . getMetaClass ( obj ) ; return new HandleMetaClass ( mc , obj ) ; }
Obtains a MetaClass for an object either from the registry or in the case of a GroovyObject from the object itself .