|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.lang.GroovyObjectSupport
public abstract class GroovyObjectSupport extends java.lang.Object
A useful base class for Java objects wishing to be Groovy objects
Constructor Summary | |
GroovyObjectSupport()
|
Method Summary | |
---|---|
MetaClass
|
getMetaClass()
|
java.lang.Object
|
getProperty(java.lang.String property)
|
java.lang.Object
|
invokeMethod(java.lang.String name, java.lang.Object args)
|
void
|
setMetaClass(MetaClass metaClass)
|
void
|
setProperty(java.lang.String property, java.lang.Object newValue)
|
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 GroovyObjectSupport()
Method Detail |
---|
public MetaClass getMetaClass()
public java.lang.Object getProperty(java.lang.String property)
public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args)
public void setMetaClass(MetaClass metaClass)
public void setProperty(java.lang.String property, java.lang.Object newValue)
Groovy Documentation