public class Reference extends GroovyObjectSupport
Constructor and Description |
---|
Reference() |
Reference(java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get() |
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 |
set(java.lang.Object value) |
void |
setProperty(java.lang.String property,
java.lang.Object newValue)
Sets the given property to the new value
|
getMetaClass, setMetaClass
public java.lang.Object getProperty(java.lang.String property)
getProperty
in interface GroovyObject
getProperty
in class GroovyObjectSupport
public void setProperty(java.lang.String property, java.lang.Object newValue)
GroovyObject
setProperty
in interface GroovyObject
setProperty
in class GroovyObjectSupport
public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args)
GroovyObject
invokeMethod
in interface GroovyObject
invokeMethod
in class GroovyObjectSupport
public java.lang.Object get()
public void set(java.lang.Object value)