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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!! __jni_bindgen! { /// public enum [SignStyle](https://developer.android.com/reference/java/time/format/SignStyle.html) /// /// Required feature: java-time-format-SignStyle #[cfg(any(feature = "all", feature = "java-time-format-SignStyle"))] public enum SignStyle extends crate::java::lang::Enum { // // Not emitting: Returning arrays of objects not yet supported // /// [values](https://developer.android.com/reference/java/time/format/SignStyle.html#values()) // /// // /// Required features: "java-time-format-SignStyle" // #[cfg(any(feature = "all", all(feature = "java-time-format-SignStyle")))] // pub fn values<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::Result<Array { levels: 1, inner: Class(Id("java/time/format/SignStyle")) }> { // // class.path == "java/time/format/SignStyle", java.flags == PUBLIC | STATIC, .name == "values", .descriptor == "()[Ljava/time/format/SignStyle;" // unsafe { // let __jni_args = []; // let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/time/format/SignStyle\0", "values\0", "()[Ljava/time/format/SignStyle;\0"); // __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr()) // } // } /// [valueOf](https://developer.android.com/reference/java/time/format/SignStyle.html#valueOf(java,%2520lang,%2520String)) /// /// Required features: "java-lang-String", "java-time-format-SignStyle" #[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "java-time-format-SignStyle")))] pub fn value_of<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::format::SignStyle>>> { // class.path == "java/time/format/SignStyle", java.flags == PUBLIC | STATIC, .name == "valueOf", .descriptor == "(Ljava/lang/String;)Ljava/time/format/SignStyle;" unsafe { let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())]; let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/time/format/SignStyle\0", "valueOf\0", "(Ljava/lang/String;)Ljava/time/format/SignStyle;\0"); __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr()) } } // // Not emitting: Non-public method // /// <init> // /// // /// Required features: "java-lang-String" // #[cfg(any(feature = "all", all(feature = "java-lang-String")))] // fn new<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: i32) -> __jni_bindgen::Result<__jni_bindgen::Local<'env, crate::java::time::format::SignStyle>> { // // class.path == "java/time/format/SignStyle", java.flags == PRIVATE, .name == "<init>", .descriptor == "(Ljava/lang/String;I)V" // unsafe { // let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)]; // let (__jni_class, __jni_method) = __jni_env.require_class_method("java/time/format/SignStyle\0", "<init>\0", "(Ljava/lang/String;I)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 == "java/time/format/SignStyle", java.flags == STATIC, .name == "<clinit>", .descriptor == "()V" // unsafe { // let __jni_args = []; // let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/time/format/SignStyle\0", "<clinit>\0", "()V\0"); // __jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr()) // } // } // // Not emitting: Haven't yet implemented object field types // /// **get** public static final [NORMAL](https://developer.android.com/reference/java/time/format/SignStyle.html#NORMAL) // /// // /// Required feature: java-time-format-SignStyle // #[cfg(any(feature = "all", feature = "java-time-format-SignStyle"))] // pub fn normal<'env>(env: &'env __jni_bindgen::Env) -> java/time/format/SignStyle { // unsafe { // let (class, field) = env.require_class_static_field("java/time/format/SignStyle\0", "NORMAL\0", "Ljava/time/format/SignStyle;\0"); // env.get_static_object_field(class, field) // } // } // // Not emitting: Haven't yet implemented object field types // /// **get** public static final [ALWAYS](https://developer.android.com/reference/java/time/format/SignStyle.html#ALWAYS) // /// // /// Required feature: java-time-format-SignStyle // #[cfg(any(feature = "all", feature = "java-time-format-SignStyle"))] // pub fn always<'env>(env: &'env __jni_bindgen::Env) -> java/time/format/SignStyle { // unsafe { // let (class, field) = env.require_class_static_field("java/time/format/SignStyle\0", "ALWAYS\0", "Ljava/time/format/SignStyle;\0"); // env.get_static_object_field(class, field) // } // } // // Not emitting: Haven't yet implemented object field types // /// **get** public static final [NEVER](https://developer.android.com/reference/java/time/format/SignStyle.html#NEVER) // /// // /// Required feature: java-time-format-SignStyle // #[cfg(any(feature = "all", feature = "java-time-format-SignStyle"))] // pub fn never<'env>(env: &'env __jni_bindgen::Env) -> java/time/format/SignStyle { // unsafe { // let (class, field) = env.require_class_static_field("java/time/format/SignStyle\0", "NEVER\0", "Ljava/time/format/SignStyle;\0"); // env.get_static_object_field(class, field) // } // } // // Not emitting: Haven't yet implemented object field types // /// **get** public static final [NOT_NEGATIVE](https://developer.android.com/reference/java/time/format/SignStyle.html#NOT_NEGATIVE) // /// // /// Required feature: java-time-format-SignStyle // #[cfg(any(feature = "all", feature = "java-time-format-SignStyle"))] // pub fn not_negative<'env>(env: &'env __jni_bindgen::Env) -> java/time/format/SignStyle { // unsafe { // let (class, field) = env.require_class_static_field("java/time/format/SignStyle\0", "NOT_NEGATIVE\0", "Ljava/time/format/SignStyle;\0"); // env.get_static_object_field(class, field) // } // } // // Not emitting: Haven't yet implemented object field types // /// **get** public static final [EXCEEDS_PAD](https://developer.android.com/reference/java/time/format/SignStyle.html#EXCEEDS_PAD) // /// // /// Required feature: java-time-format-SignStyle // #[cfg(any(feature = "all", feature = "java-time-format-SignStyle"))] // pub fn exceeds_pad<'env>(env: &'env __jni_bindgen::Env) -> java/time/format/SignStyle { // unsafe { // let (class, field) = env.require_class_static_field("java/time/format/SignStyle\0", "EXCEEDS_PAD\0", "Ljava/time/format/SignStyle;\0"); // env.get_static_object_field(class, field) // } // } // // Not emitting: Non-public method // // Not emitting: Haven't yet implemented array field types // // Not emitting: Failed to mangle field name(s) // pub fn get_"$VALUES"<'env>(env: &'env __jni_bindgen::Env) -> ??? { ... } } }