public unsafe JsonRpcPeer(global::Com.Facebook.Stetho.Json.ObjectMapper p0, global::Com.Facebook.Stetho.Websocket.ISimpleSession p1) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (GetType() != typeof(JsonRpcPeer)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lcom/facebook/stetho/json/ObjectMapper;Lcom/facebook/stetho/websocket/SimpleSession;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/facebook/stetho/json/ObjectMapper;Lcom/facebook/stetho/websocket/SimpleSession;)V", __args); return; } if (id_ctor_Lcom_facebook_stetho_json_ObjectMapper_Lcom_facebook_stetho_websocket_SimpleSession_ == IntPtr.Zero) { id_ctor_Lcom_facebook_stetho_json_ObjectMapper_Lcom_facebook_stetho_websocket_SimpleSession_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/facebook/stetho/json/ObjectMapper;Lcom/facebook/stetho/websocket/SimpleSession;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_facebook_stetho_json_ObjectMapper_Lcom_facebook_stetho_websocket_SimpleSession_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_facebook_stetho_json_ObjectMapper_Lcom_facebook_stetho_websocket_SimpleSession_, __args); } finally { } }
public unsafe MethodDispatchHelper(global::Com.Facebook.Stetho.Json.ObjectMapper p0, global::Com.Facebook.Stetho.Inspector.Protocol.IChromeDevtoolsDomain p1, global::Java.Lang.Reflect.Method p2) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); if (GetType() != typeof(MethodDispatchHelper)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lcom/facebook/stetho/json/ObjectMapper;Lcom/facebook/stetho/inspector/protocol/ChromeDevtoolsDomain;Ljava/lang/reflect/Method;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/facebook/stetho/json/ObjectMapper;Lcom/facebook/stetho/inspector/protocol/ChromeDevtoolsDomain;Ljava/lang/reflect/Method;)V", __args); return; } if (id_ctor_Lcom_facebook_stetho_json_ObjectMapper_Lcom_facebook_stetho_inspector_protocol_ChromeDevtoolsDomain_Ljava_lang_reflect_Method_ == IntPtr.Zero) { id_ctor_Lcom_facebook_stetho_json_ObjectMapper_Lcom_facebook_stetho_inspector_protocol_ChromeDevtoolsDomain_Ljava_lang_reflect_Method_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/facebook/stetho/json/ObjectMapper;Lcom/facebook/stetho/inspector/protocol/ChromeDevtoolsDomain;Ljava/lang/reflect/Method;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_facebook_stetho_json_ObjectMapper_Lcom_facebook_stetho_inspector_protocol_ChromeDevtoolsDomain_Ljava_lang_reflect_Method_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_facebook_stetho_json_ObjectMapper_Lcom_facebook_stetho_inspector_protocol_ChromeDevtoolsDomain_Ljava_lang_reflect_Method_, __args); } finally { } }
static IntPtr n_ConvertValue_Ljava_lang_Object_Ljava_lang_Class_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::Com.Facebook.Stetho.Json.ObjectMapper __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Json.ObjectMapper> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Java.Lang.Object p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (native_p0, JniHandleOwnership.DoNotTransfer); global::Java.Lang.Class p1 = global::Java.Lang.Object.GetObject <global::Java.Lang.Class> (native_p1, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.ConvertValue(p0, p1)); return(__ret); }