public abstract class GroovyObjectSupport extends java.lang.Object implements GroovyObject
Constructor and Description |
---|
GroovyObjectSupport() |
Modifier and Type | Method and Description |
---|---|
MetaClass |
getMetaClass() |
java.lang.Object |
getProperty(java.lang.String property) |
java.lang.Object |
invokeMethod(java.lang.String name,
java.lang.Object args)
Invokes the given method
|
void |
setMetaClass(MetaClass metaClass)
Allows the MetaClass to be replaced with a derived implementation
|
void |
setProperty(java.lang.String property,
java.lang.Object newValue)
Sets the given property to the new value
|
public java.lang.Object getProperty(java.lang.String property)
getProperty
in interface GroovyObject
public void setProperty(java.lang.String property, java.lang.Object newValue)
GroovyObject
setProperty
in interface GroovyObject
public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args)
GroovyObject
invokeMethod
in interface GroovyObject
public MetaClass getMetaClass()
getMetaClass
in interface GroovyObject
public void setMetaClass(MetaClass metaClass)
GroovyObject
setMetaClass
in interface GroovyObject