|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.lang.GroovyObjectSupport
public abstract class GroovyObjectSupport extends Object
A useful base class for Java objects wishing to be Groovy objects
Constructor Summary | |
GroovyObjectSupport()
|
Method Summary | |
---|---|
MetaClass
|
getMetaClass()
|
Object
|
getProperty(String property)
|
Object
|
invokeMethod(String name, Object args)
|
void
|
setMetaClass(MetaClass metaClass)
|
void
|
setProperty(String property, Object newValue)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail |
---|
public GroovyObjectSupport()
Method Detail |
---|
public MetaClass getMetaClass()
public Object getProperty(String property)
public Object invokeMethod(String name, Object args)
public void setMetaClass(MetaClass metaClass)
public void setProperty(String property, Object newValue)
Copyright © 2003-2013 The Codehaus. All rights reserved.