Пример #1
0
        public void CallVoidMethod(IJvmProxy obj, MethodId methodId, params Value[] args)
        {
#if DEBUG
            if (Bridge.Setup.VeryVerbose)
            {
                Console.WriteLine("IJvmProxy : " + obj.GetType().FullName);
            }
#endif
            CallVoidMethod(obj.JvmHandle, methodId, args);
        }
Пример #2
0
 public JniLocalHandle CallObjectMethodPtr(IJvmProxy obj, MethodId methodIdNative, params Value[] args)
 {
     #if DEBUG
     if (Bridge.Setup.VeryVerbose)
     {
         Console.WriteLine("CallObjectMethodPtr : " + obj.GetType().FullName);
     }
     #endif
     JniLocalHandle res = callObjectMethod(envPtr, obj.JvmHandle, methodIdNative.native, args);
     ExceptionTest();
     return res;
 }
Пример #3
0
        public char CallCharMethod(IJvmProxy obj, MethodId methodIdNative, params Value[] args)
        {
#if DEBUG
            if (Bridge.Setup.VeryVerbose)
            {
                Console.WriteLine("CallCharMethod : " + obj.GetType().FullName);
            }
#endif
            var res = (char)callCharMethod(envPtr, obj.JvmHandle, methodIdNative.native, args);
            ExceptionTest();
            return(res);
        }
Пример #4
0
        public JniLocalHandle CallObjectMethodPtr(IJvmProxy obj, MethodId methodIdNative, params Value[] args)
        {
#if DEBUG
            if (Bridge.Setup.VeryVerbose)
            {
                Console.WriteLine("CallObjectMethodPtr : " + obj.GetType().FullName);
            }
#endif
            JniLocalHandle res = callObjectMethod(envPtr, obj.JvmHandle, methodIdNative.native, args);
            ExceptionTest();
            return(res);
        }