public class Proxy extends GroovyObjectSupport
| Constructor and Description |
|---|
Proxy() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getAdaptee() |
java.lang.Object |
invokeMethod(java.lang.String name,
java.lang.Object args)
Invokes the given method.
|
java.util.Iterator |
iterator() |
void |
setAdaptee(java.lang.Object adaptee) |
Proxy |
wrap(java.lang.Object adaptee)
This method is for convenience.
|
getMetaClass, getProperty, setMetaClass, setPropertypublic Proxy wrap(java.lang.Object adaptee)
public java.lang.Object getAdaptee()
public void setAdaptee(java.lang.Object adaptee)
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.Object args)
GroovyObjectinvokeMethod in interface GroovyObjectinvokeMethod in class GroovyObjectSupportname - the name of the method to callargs - the arguments to use for the method callpublic java.util.Iterator iterator()