|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.lang.GroovyObjectSupport groovy.lang.Reference
public class Reference extends GroovyObjectSupport
Represents a reference to a value
Constructor Summary | |
Reference()
|
|
Reference(java.lang.Object value)
|
Method Summary | |
---|---|
java.lang.Object
|
get()
|
java.lang.Object
|
getProperty(java.lang.String property)
|
java.lang.Object
|
invokeMethod(java.lang.String name, java.lang.Object args)
|
void
|
set(java.lang.Object value)
|
void
|
setProperty(java.lang.String property, java.lang.Object newValue)
|
Methods inherited from class GroovyObjectSupport | |
---|---|
getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructor Detail |
---|
public Reference()
public Reference(java.lang.Object value)
Method Detail |
---|
public java.lang.Object get()
public java.lang.Object getProperty(java.lang.String property)
public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args)
public void set(java.lang.Object value)
public void setProperty(java.lang.String property, java.lang.Object newValue)
Groovy Documentation