| Return type | Name and parameters | 
|---|---|
| MetaClass | getMetaClass()Obtains a MetaClass for an object either from the registry or in the case of a GroovyObject from the object itself. | 
| void | setMetaClass(MetaClass metaClass)Sets the metaclass for a GroovyObject. | 
Obtains a MetaClass for an object either from the registry or in the case of a GroovyObject from the object itself.
Sets the metaclass for a GroovyObject.
metaClass -  the new metaclass value