|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
---|---|
GroovyObject |
wrapped
|
Constructor Summary | |
GroovyObjectWrapper(GroovyObject wrapped, Class constrainedType)
|
Method Summary | |
---|---|
MetaClass |
getDelegatedMetaClass()
|
Object |
getProperty(String property)
Note the rest of these method will only be used post 1.0 |
Object |
getWrapped()
|
Object |
invokeMethod(String name, Object args)
|
void |
setMetaClass(MetaClass metaClass)
|
void |
setProperty(String property, Object newValue)
|
Object |
unwrap()
|
Constructor Detail |
---|
public GroovyObjectWrapper(GroovyObject wrapped, Class constrainedType)
Method Detail |
---|
MetaClass getDelegatedMetaClass()
public Object getProperty(String property)
Object getWrapped()
public Object invokeMethod(String name, Object args)
public void setMetaClass(MetaClass metaClass)
public void setProperty(String property, Object newValue)
public Object unwrap()