| |
|
| java.lang.Object com.google.gwt.dev.shell.JavaDispatchImpl
JavaDispatchImpl | public class JavaDispatchImpl implements JavaDispatch(Code) | | Class for wrapping Java things for JavaScript.
|
JavaDispatchImpl | public JavaDispatchImpl(CompilingClassLoader ccl)(Code) | | This constructor initializes a dispatcher for handling static members.
Parameters: ccl - class loader to use for dispatching member access |
JavaDispatchImpl | public JavaDispatchImpl(CompilingClassLoader ccl, Object target)(Code) | | This constructor initializes a dispatcher around a particular instance.
Parameters: ccl - class loader to use for dispatching member access Parameters: target - the instance object to use for dispatching member accesses throws: NullPointerException - if target is null |
getField | public Field getField(int dispId)(Code) | | Parameters: dispId - the unique number of a field the field |
getMember | protected Member getMember(int dispId)(Code) | | Parameters: dispId - the unique number of a method or field the member |
getMethod | public Method getMethod(int dispId)(Code) | | Parameters: dispId - the unique number of a method the method |
isField | public boolean isField(int dispId)(Code) | | Parameters: dispId - the unique number of a method or field true if the dispId represents a field |
isMethod | public boolean isMethod(int dispId)(Code) | | Parameters: dispId - the unique number of a method or field true if the dispId represents a method |
setFieldValue | public void setFieldValue(int dispId, Object value)(Code) | | Parameters: dispId - the unique number of a field Parameters: value - the value to assign to the field throws: IllegalArgumentException - |
|
|
|