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)
Set 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.
Set the metaclass for a GroovyObject.
metaClass
- the new metaclass value