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 GroovyObjectpublic void setProperty(java.lang.String property,
java.lang.Object newValue)
GroovyObjectsetProperty in interface GroovyObjectpublic java.lang.Object invokeMethod(java.lang.String name,
java.lang.Object args)
GroovyObjectinvokeMethod in interface GroovyObjectpublic MetaClass getMetaClass()
getMetaClass in interface GroovyObjectpublic void setMetaClass(MetaClass metaClass)
GroovyObjectsetMetaClass in interface GroovyObject