public virtual unsafe void AcceptVisitor(global::Artifex.MuPdf.LinkInfoVisitor p0) { if (id_acceptVisitor_Lcom_artifex_mupdfdemo_LinkInfoVisitor_ == IntPtr.Zero) { id_acceptVisitor_Lcom_artifex_mupdfdemo_LinkInfoVisitor_ = JNIEnv.GetMethodID(class_ref, "acceptVisitor", "(Lcom/artifex/mupdfdemo/LinkInfoVisitor;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_acceptVisitor_Lcom_artifex_mupdfdemo_LinkInfoVisitor_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "acceptVisitor", "(Lcom/artifex/mupdfdemo/LinkInfoVisitor;)V"), __args); } } finally { } }
static void n_VisitInternal_Lcom_artifex_mupdfdemo_LinkInfoInternal_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Artifex.MuPdf.LinkInfoVisitor __this = global::Java.Lang.Object.GetObject <global::Artifex.MuPdf.LinkInfoVisitor> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Artifex.MuPdf.LinkInfoInternal p0 = global::Java.Lang.Object.GetObject <global::Artifex.MuPdf.LinkInfoInternal> (native_p0, JniHandleOwnership.DoNotTransfer); __this.VisitInternal(p0); }