Esempio n. 1
0
        public JniLocalHandle GetObjectField(JniHandle obj, FieldId fieldID)
        {
            JniLocalHandle res = getObjectField(envPtr, obj, fieldID.native);

            ExceptionTest();
            return(res);
        }
Esempio n. 2
0
        public JniLocalHandle GetStaticObjectField(JniHandle clazz, FieldId fieldID)
        {
            JniLocalHandle res = getStaticObjectField(envPtr, clazz, fieldID.native);

            ExceptionTest();
            return(res);
        }
Esempio n. 3
0
        public short GetStaticShortField(JniHandle clazz, FieldId fieldID)
        {
            short res = getStaticShortField(envPtr, clazz, fieldID.native);

            ExceptionTest();
            return(res);
        }
Esempio n. 4
0
        public int GetStaticIntField(JniHandle clazz, FieldId fieldID)
        {
            int res = getStaticIntField(envPtr, clazz, fieldID.native);

            ExceptionTest();
            return(res);
        }
Esempio n. 5
0
        public long GetStaticLongField(JniHandle clazz, FieldId fieldID)
        {
            long res = getStaticLongField(envPtr, clazz, fieldID.native);

            ExceptionTest();
            return(res);
        }
Esempio n. 6
0
        public float GetStaticFloatField(JniHandle clazz, FieldId fieldID)
        {
            float res = getStaticFloatField(envPtr, clazz, fieldID.native);

            ExceptionTest();
            return(res);
        }
Esempio n. 7
0
        public double GetStaticDoubleField(JniHandle clazz, FieldId fieldID)
        {
            double res = getStaticDoubleField(envPtr, clazz, fieldID.native);

            ExceptionTest();
            return(res);
        }
Esempio n. 8
0
        public float GetFloatField(JavaObject obj, FieldId fieldID)
        {
            float res = getFloatField(envPtr, obj.JvmHandle, fieldID.native);

            ExceptionTest();
            return(res);
        }
Esempio n. 9
0
        public char GetCharField(JavaObject obj, FieldId fieldID)
        {
            var res = (char)getCharField(envPtr, obj.JvmHandle, fieldID.native);

            ExceptionTest();
            return(res);
        }
Esempio n. 10
0
        public int GetIntField(JniHandle obj, FieldId fieldID)
        {
            int res = getIntField(envPtr, obj, fieldID.native);

            ExceptionTest();
            return(res);
        }
Esempio n. 11
0
        public double GetDoubleField(JavaObject obj, FieldId fieldID)
        {
            double res = getDoubleField(envPtr, obj.JvmHandle, fieldID.native);

            ExceptionTest();
            return(res);
        }
Esempio n. 12
0
        public bool GetBooleanField(JavaObject obj, FieldId fieldID)
        {
            bool res = getBooleanField(envPtr, obj.JvmHandle, fieldID.native) != 0;

            ExceptionTest();
            return(res);
        }
Esempio n. 13
0
        public long GetLongField(JavaObject obj, FieldId fieldID)
        {
            long res = getLongField(envPtr, obj.JvmHandle, fieldID.native);

            ExceptionTest();
            return(res);
        }
Esempio n. 14
0
        public short GetShortField(JavaObject obj, FieldId fieldID)
        {
            short res = getShortField(envPtr, obj.JvmHandle, fieldID.native);

            ExceptionTest();
            return(res);
        }
Esempio n. 15
0
        public byte GetStaticByteField(JniHandle clazz, FieldId fieldID)
        {
            byte res = getStaticByteField(envPtr, clazz, fieldID.native);

            ExceptionTest();
            return(res);
        }
Esempio n. 16
0
        public char GetStaticCharField(JniHandle clazz, FieldId fieldID)
        {
            var res = (char)getStaticCharField(envPtr, clazz, fieldID.native);

            ExceptionTest();
            return(res);
        }
Esempio n. 17
0
        public JniLocalHandle ToReflectedField(JniHandle cls, FieldId fieldID, bool isStatic)
        {
            JniLocalHandle res = toReflectedField.Invoke(envPtr, cls, fieldID.native,
                                                         isStatic ? (byte)1 : (byte)0);

            ExceptionTest();
            return(res);
        }
Esempio n. 18
0
 internal void SetLongField(JniHandle obj, FieldId fieldID, long value)
 {
     setLongField(envPtr, obj, fieldID.native, value);
     ExceptionTest();
 }
Esempio n. 19
0
 public long GetStaticLongField(JniHandle clazz, FieldId fieldID)
 {
     long res = getStaticLongField(envPtr, clazz, fieldID.native);
     ExceptionTest();
     return res;
 }
Esempio n. 20
0
 internal void SetBooleanField(JniHandle obj, FieldId fieldID, bool value)
 {
     setBooleanField(envPtr, obj, fieldID.native, value ? (byte) 1 : (byte) 0);
     ExceptionTest();
 }
Esempio n. 21
0
 public char GetStaticCharField(JniHandle clazz, FieldId fieldID)
 {
     var res = (char) getStaticCharField(envPtr, clazz, fieldID.native);
     ExceptionTest();
     return res;
 }
Esempio n. 22
0
 public float GetStaticFloatField(JniHandle clazz, FieldId fieldID)
 {
     float res = getStaticFloatField(envPtr, clazz, fieldID.native);
     ExceptionTest();
     return res;
 }
Esempio n. 23
0
 public long GetLongField(JniHandle obj, FieldId fieldID)
 {
     long res = getLongField(envPtr, obj, fieldID.native);
     ExceptionTest();
     return res;
 }
Esempio n. 24
0
 public bool GetStaticBooleanField(JniHandle clazz, FieldId fieldID)
 {
     return GetStaticBooleanField(clazz, fieldID.native);
 }
Esempio n. 25
0
 internal void SetBooleanField(JavaObject obj, FieldId fieldID, bool value)
 {
     setBooleanField(envPtr, obj.JvmHandle, fieldID.native, value ? (byte)1 : (byte)0);
     ExceptionTest();
 }
Esempio n. 26
0
 internal void SetObjectFieldPtr(JniLocalHandle obj, FieldId fieldID, JniHandle value)
 {
     setObjectField(envPtr, obj, fieldID.native, value);
     ExceptionTest();
 }
Esempio n. 27
0
 internal void SetDoubleField(JavaObject obj, FieldId fieldID, double value)
 {
     setDoubleField(envPtr, obj.JvmHandle, fieldID.native, value);
     ExceptionTest();
 }
Esempio n. 28
0
 internal void SetFloatField(JavaObject obj, FieldId fieldID, float value)
 {
     setFloatField(envPtr, obj.JvmHandle, fieldID.native, value);
     ExceptionTest();
 }
Esempio n. 29
0
 internal void SetStaticObjectField(JniHandle clazz, FieldId fieldID, JavaObject value)
 {
     setStaticObjectField(envPtr, clazz, fieldID.native, value.JvmHandle);
     ExceptionTest();
 }
Esempio n. 30
0
 internal void SetStaticBooleanField(JniHandle clazz, FieldId fieldID, bool value)
 {
     SetStaticBooleanField(clazz, fieldID.native, value);
 }
Esempio n. 31
0
 public bool GetStaticBooleanField(JniHandle clazz, FieldId fieldID)
 {
     return(GetStaticBooleanField(clazz, fieldID.native));
 }
Esempio n. 32
0
 internal void SetShortField(JniHandle obj, FieldId fieldID, short value)
 {
     setShortField(envPtr, obj, fieldID.native, value);
     ExceptionTest();
 }
Esempio n. 33
0
 internal void SetStaticDoubleField(JniHandle clazz, FieldId fieldID, double value)
 {
     setStaticDoubleField(envPtr, clazz, fieldID.native, value);
     ExceptionTest();
 }
Esempio n. 34
0
 internal void SetStaticDoubleField(JniHandle clazz, FieldId fieldID, double value)
 {
     setStaticDoubleField(envPtr, clazz, fieldID.native, value);
     ExceptionTest();
 }
Esempio n. 35
0
 internal void SetStaticShortField(JniHandle clazz, FieldId fieldID, short value)
 {
     setStaticShortField(envPtr, clazz, fieldID.native, value);
     ExceptionTest();
 }
Esempio n. 36
0
 public short GetShortField(JniHandle obj, FieldId fieldID)
 {
     short res = getShortField(envPtr, obj, fieldID.native);
     ExceptionTest();
     return res;
 }
Esempio n. 37
0
 public int GetIntField(JavaObject obj, FieldId fieldID)
 {
     return(GetIntField(obj.JvmHandle, fieldID));
 }
Esempio n. 38
0
 public byte GetStaticByteField(JniHandle clazz, FieldId fieldID)
 {
     byte res = getStaticByteField(envPtr, clazz, fieldID.native);
     ExceptionTest();
     return res;
 }
Esempio n. 39
0
 public bool GetBooleanField(JniHandle obj, FieldId fieldID)
 {
     bool res = getBooleanField(envPtr, obj, fieldID.native) != 0;
     ExceptionTest();
     return res;
 }
Esempio n. 40
0
 public double GetStaticDoubleField(JniHandle clazz, FieldId fieldID)
 {
     double res = getStaticDoubleField(envPtr, clazz, fieldID.native);
     ExceptionTest();
     return res;
 }
Esempio n. 41
0
 public byte GetByteField(JniHandle obj, FieldId fieldID)
 {
     byte res = getByteField(envPtr, obj, fieldID.native);
     ExceptionTest();
     return res;
 }
Esempio n. 42
0
 public int GetStaticIntField(JniHandle clazz, FieldId fieldID)
 {
     int res = getStaticIntField(envPtr, clazz, fieldID.native);
     ExceptionTest();
     return res;
 }
Esempio n. 43
0
 public char GetCharField(JniHandle obj, FieldId fieldID)
 {
     var res = (char) getCharField(envPtr, obj, fieldID.native);
     ExceptionTest();
     return res;
 }
Esempio n. 44
0
 public short GetStaticShortField(JniHandle clazz, FieldId fieldID)
 {
     short res = getStaticShortField(envPtr, clazz, fieldID.native);
     ExceptionTest();
     return res;
 }
Esempio n. 45
0
 public double GetDoubleField(JniHandle obj, FieldId fieldID)
 {
     double res = getDoubleField(envPtr, obj, fieldID.native);
     ExceptionTest();
     return res;
 }
Esempio n. 46
0
 internal void SetCharField(JniHandle obj, FieldId fieldID, char value)
 {
     setCharField(envPtr, obj, fieldID.native, value);
     ExceptionTest();
 }
Esempio n. 47
0
 public float GetFloatField(JniHandle obj, FieldId fieldID)
 {
     float res = getFloatField(envPtr, obj, fieldID.native);
     ExceptionTest();
     return res;
 }
Esempio n. 48
0
 internal void SetObjectField(JniHandle obj, FieldId fieldID, JniHandle value)
 {
     setObjectField(envPtr, obj, fieldID.native, value);
     ExceptionTest();
 }
Esempio n. 49
0
 public int GetIntField(JniHandle obj, FieldId fieldID)
 {
     int res = getIntField(envPtr, obj, fieldID.native);
     ExceptionTest();
     return res;
 }
Esempio n. 50
0
 internal void SetStaticBooleanField(JniHandle clazz, FieldId fieldID, bool value)
 {
     SetStaticBooleanField(clazz, fieldID.native, value);
 }
Esempio n. 51
0
 internal void SetStaticFloatField(JniHandle clazz, FieldId fieldID, float value)
 {
     setStaticFloatField(envPtr, clazz, fieldID.native, value);
     ExceptionTest();
 }
Esempio n. 52
0
 internal void SetStaticObjectField(JniHandle clazz, FieldId fieldID, JavaObject value)
 {
     setStaticObjectField(envPtr, clazz, fieldID.native, value.JvmHandle);
     ExceptionTest();
 }
Esempio n. 53
0
 public JniLocalHandle GetObjectField(JniHandle obj, FieldId fieldID)
 {
     JniLocalHandle res = getObjectField(envPtr, obj, fieldID.native);
     ExceptionTest();
     return res;
 }
Esempio n. 54
0
 public JniLocalHandle ToReflectedField(JniHandle cls, FieldId fieldID, bool isStatic)
 {
     JniLocalHandle res = toReflectedField.Invoke(envPtr, cls, fieldID.native,
                                          isStatic ? (byte) 1 : (byte) 0);
     ExceptionTest();
     return res;
 }
Esempio n. 55
0
 internal void SetDoubleField(JavaObject obj, FieldId fieldID, double value)
 {
     setDoubleField(envPtr, obj.JvmHandle, fieldID.native, value);
     ExceptionTest();
 }
Esempio n. 56
0
 public JniLocalHandle GetStaticObjectField(JniHandle clazz, FieldId fieldID)
 {
     JniLocalHandle res = getStaticObjectField(envPtr, clazz, fieldID.native);
     ExceptionTest();
     return res;
 }
Esempio n. 57
0
 internal void SetFloatField(JavaObject obj, FieldId fieldID, float value)
 {
     setFloatField(envPtr, obj.JvmHandle, fieldID.native, value);
     ExceptionTest();
 }