public abstract class GroovyObjectSupport extends Object implements GroovyObject
Constructor and Description |
---|
GroovyObjectSupport() |
Modifier and Type | Method and Description |
---|---|
MetaClass |
getMetaClass()
Returns the metaclass for a given class.
|
void |
setMetaClass(MetaClass metaClass)
Allows the MetaClass to be replaced with a derived implementation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProperty, invokeMethod, setProperty
public MetaClass getMetaClass()
GroovyObject
getMetaClass
in interface GroovyObject
public void setMetaClass(MetaClass metaClass)
GroovyObject
setMetaClass
in interface GroovyObject
metaClass
- the new metaclass