1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!! __jni_bindgen! { /// public final class [OpcodeInfo](https://developer.android.com/reference/dalvik/bytecode/OpcodeInfo.html) /// /// Required feature: dalvik-bytecode-OpcodeInfo #[cfg(any(feature = "all", feature = "dalvik-bytecode-OpcodeInfo"))] public final class OpcodeInfo extends crate::java::lang::Object { // // Not emitting: Non-public method // /// <init> // fn new<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::Result<__jni_bindgen::Local<'env, crate::dalvik::bytecode::OpcodeInfo>> { // // class.path == "dalvik/bytecode/OpcodeInfo", java.flags == (empty), .name == "<init>", .descriptor == "()V" // unsafe { // let __jni_args = []; // let (__jni_class, __jni_method) = __jni_env.require_class_method("dalvik/bytecode/OpcodeInfo\0", "<init>\0", "()V\0"); // __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr()) // } // } // // Not emitting: Failed to mangle method name // // Not emitting: Non-public method // // Not emitting: Static class constructor - never needs to be called by Rust. // /// <clinit> // fn <clinit><'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::Result<()> { // // class.path == "dalvik/bytecode/OpcodeInfo", java.flags == STATIC, .name == "<clinit>", .descriptor == "()V" // unsafe { // let __jni_args = []; // let (__jni_class, __jni_method) = __jni_env.require_class_static_method("dalvik/bytecode/OpcodeInfo\0", "<clinit>\0", "()V\0"); // __jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr()) // } // } /// **get** public static final [MAXIMUM_PACKED_VALUE](https://developer.android.com/reference/dalvik/bytecode/OpcodeInfo.html#MAXIMUM_PACKED_VALUE) pub fn maximum_packed_value<'env>(env: &'env __jni_bindgen::Env) -> i32 { unsafe { let (class, field) = env.require_class_static_field("dalvik/bytecode/OpcodeInfo\0", "MAXIMUM_PACKED_VALUE\0", "I\0"); env.get_static_int_field(class, field) } } /// **get** public static final [MAXIMUM_VALUE](https://developer.android.com/reference/dalvik/bytecode/OpcodeInfo.html#MAXIMUM_VALUE) pub fn maximum_value<'env>(env: &'env __jni_bindgen::Env) -> i32 { unsafe { let (class, field) = env.require_class_static_field("dalvik/bytecode/OpcodeInfo\0", "MAXIMUM_VALUE\0", "I\0"); env.get_static_int_field(class, field) } } } }