Constructor and Description |
---|
DynObjectProxy(DynClass dynClass,
Object obj) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
delegate(DynObject dynObject) |
DynClass |
getDynClass() |
Object |
getDynValue(String name) |
boolean |
hasDynValue(String name) |
void |
implement(DynClass dynClass) |
Object |
invokeDynMethod(int code,
Object[] args) |
Object |
invokeDynMethod(String name,
Object[] args) |
void |
setDynValue(String name,
Object value) |
String |
toString() |
public DynClass getDynClass()
getDynClass
in interface DynObject
public Object getDynValue(String name) throws DynFieldNotFoundException
getDynValue
in interface DynObject
DynFieldNotFoundException
public void setDynValue(String name, Object value) throws DynFieldNotFoundException
setDynValue
in interface DynObject
DynFieldNotFoundException
public boolean hasDynValue(String name)
hasDynValue
in interface DynObject
public Object invokeDynMethod(String name, Object[] args) throws DynMethodException
invokeDynMethod
in interface DynObject
DynMethodException
public Object invokeDynMethod(int code, Object[] args) throws DynMethodException
invokeDynMethod
in interface DynObject
DynMethodException