Esempio n. 1
0
        static bool n_Equals_Ljava_lang_Object_(IntPtr jnienv, IntPtr native__this, IntPtr native_obj)
        {
            global::Javax.Annotation.IRegEx __this = global::Java.Lang.Object.GetObject <global::Javax.Annotation.IRegEx> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Java.Lang.Object        obj    = global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (native_obj, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.Equals(obj);

            return(__ret);
        }
Esempio n. 2
0
        static IntPtr n_ForConstantValue_Ljavax_annotation_RegEx_Ljava_lang_Object_(IntPtr jnienv, IntPtr native__this, IntPtr native_annotation, IntPtr native_value)
        {
            global::Javax.Annotation.RegExChecker __this     = global::Java.Lang.Object.GetObject <global::Javax.Annotation.RegExChecker> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Javax.Annotation.IRegEx       annotation = (global::Javax.Annotation.IRegEx)global::Java.Lang.Object.GetObject <global::Javax.Annotation.IRegEx> (native_annotation, JniHandleOwnership.DoNotTransfer);
            global::Java.Lang.Object value = global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (native_value, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.ForConstantValue(annotation, value));

            return(__ret);
        }
Esempio n. 3
0
        public virtual unsafe global::Javax.Annotation.Meta.When ForConstantValue(global::Javax.Annotation.IRegEx annotation, global::Java.Lang.Object value)
        {
            const string __id = "forConstantValue.(Ljavax/annotation/RegEx;Ljava/lang/Object;)Ljavax/annotation/meta/When;";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue((annotation == null) ? IntPtr.Zero : ((global::Java.Lang.Object)annotation).Handle);
                __args [1] = new JniArgumentValue((value == null) ? IntPtr.Zero : ((global::Java.Lang.Object)value).Handle);
                var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args);
                return(global::Java.Lang.Object.GetObject <global::Javax.Annotation.Meta.When> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
            }
        }
Esempio n. 4
0
 static IntPtr n_ToString(IntPtr jnienv, IntPtr native__this)
 {
     global::Javax.Annotation.IRegEx __this = global::Java.Lang.Object.GetObject <global::Javax.Annotation.IRegEx> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.NewString(__this.ToString()));
 }
Esempio n. 5
0
 static int n_GetHashCode(IntPtr jnienv, IntPtr native__this)
 {
     global::Javax.Annotation.IRegEx __this = global::Java.Lang.Object.GetObject <global::Javax.Annotation.IRegEx> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.GetHashCode());
 }
Esempio n. 6
0
 static IntPtr n_AnnotationType(IntPtr jnienv, IntPtr native__this)
 {
     global::Javax.Annotation.IRegEx __this = global::Java.Lang.Object.GetObject <global::Javax.Annotation.IRegEx> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.AnnotationType()));
 }