| java.lang.Object tcl.lang.JavaInvoke
JavaInvoke | class JavaInvoke (Code) | | This class implements the common routines used by the java::*
commands to create Java objects, call Java methods and access fields
and properties. It also has auxiliary routines for converting between
TclObject's and Java Object's.
|
Method Summary | |
static Object | call(Interp interp, PkgInvoker invoker, TclObject signature, Object func, Object obj, TclObject argv, int startIdx, int count) | static TclObject | callMethod(Interp interp, TclObject reflectObj, TclObject signature, TclObject argv, int startIdx, int count, boolean convert) | static TclObject | callStaticMethod(Interp interp, TclObject classObj, TclObject signature, TclObject argv, int startIdx, int count, boolean convert) | static TclObject | convertJavaObject(Interp interp, Class cls, Object javaObj) | final static Object | convertTclObject(Interp interp, Class type, TclObject tclObj) | static Class | getClassByName(Interp interp, String clsName) | final static TclObject | getField(Interp interp, TclObject classOrObj, TclObject signature, boolean convert) | static TclObject | getProperty(Interp interp, TclObject reflectObj, TclObject propName, boolean convert) | static TclObject | getsetField(Interp interp, TclObject classOrObj, TclObject signature, TclObject value, boolean convert, boolean isget) | final static boolean | isAssignable(Class to_cls, Class from_cls) | static boolean | isInnerClass(Class cls) | static TclObject | newInstance(Interp interp, TclObject signature, TclObject[] argv, int startIdx, int count) | static void | notAccessibleError(Interp interp, Class cls) | static int | parseJavaInt(Interp interp, TclObject obj) | static long | parseJavaLong(Interp interp, TclObject obj) | final static void | setField(Interp interp, TclObject classOrObj, TclObject signature, TclObject value) | static void | setProperty(Interp interp, TclObject reflectObj, TclObject propName, TclObject value) |
isAssignable | final static boolean isAssignable(Class to_cls, Class from_cls)(Code) | | |
|
|