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 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365
// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!! __jni_bindgen! { /// public enum [ChronoUnit](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html) /// /// Required feature: java-time-temporal-ChronoUnit #[cfg(any(feature = "all", feature = "java-time-temporal-ChronoUnit"))] public enum ChronoUnit extends crate::java::lang::Enum, implements crate::java::time::temporal::TemporalUnit { // // Not emitting: Returning arrays of objects not yet supported // /// [values](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#values()) // /// // /// Required features: "java-time-temporal-ChronoUnit" // #[cfg(any(feature = "all", all(feature = "java-time-temporal-ChronoUnit")))] // pub fn values<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::Result<Array { levels: 1, inner: Class(Id("java/time/temporal/ChronoUnit")) }> { // // class.path == "java/time/temporal/ChronoUnit", java.flags == PUBLIC | STATIC, .name == "values", .descriptor == "()[Ljava/time/temporal/ChronoUnit;" // unsafe { // let __jni_args = []; // let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/time/temporal/ChronoUnit\0", "values\0", "()[Ljava/time/temporal/ChronoUnit;\0"); // __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr()) // } // } /// [valueOf](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#valueOf(java,%2520lang,%2520String)) /// /// Required features: "java-lang-String", "java-time-temporal-ChronoUnit" #[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "java-time-temporal-ChronoUnit")))] 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::temporal::ChronoUnit>>> { // class.path == "java/time/temporal/ChronoUnit", java.flags == PUBLIC | STATIC, .name == "valueOf", .descriptor == "(Ljava/lang/String;)Ljava/time/temporal/ChronoUnit;" unsafe { let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())]; let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/time/temporal/ChronoUnit\0", "valueOf\0", "(Ljava/lang/String;)Ljava/time/temporal/ChronoUnit;\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::temporal::ChronoUnit>> { // // class.path == "java/time/temporal/ChronoUnit", 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/temporal/ChronoUnit\0", "<init>\0", "(Ljava/lang/String;I)V\0"); // __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr()) // } // } /// [getDuration](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#getDuration()) /// /// Required features: "java-time-Duration" #[cfg(any(feature = "all", all(feature = "java-time-Duration")))] pub fn get_duration<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::Duration>>> { // class.path == "java/time/temporal/ChronoUnit", java.flags == PUBLIC, .name == "getDuration", .descriptor == "()Ljava/time/Duration;" unsafe { let __jni_args = []; let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env); let (__jni_class, __jni_method) = __jni_env.require_class_method("java/time/temporal/ChronoUnit\0", "getDuration\0", "()Ljava/time/Duration;\0"); __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [isDurationEstimated](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#isDurationEstimated()) pub fn is_duration_estimated<'env>(&'env self) -> __jni_bindgen::Result<bool> { // class.path == "java/time/temporal/ChronoUnit", java.flags == PUBLIC, .name == "isDurationEstimated", .descriptor == "()Z" unsafe { let __jni_args = []; let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env); let (__jni_class, __jni_method) = __jni_env.require_class_method("java/time/temporal/ChronoUnit\0", "isDurationEstimated\0", "()Z\0"); __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [isDateBased](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#isDateBased()) pub fn is_date_based<'env>(&'env self) -> __jni_bindgen::Result<bool> { // class.path == "java/time/temporal/ChronoUnit", java.flags == PUBLIC, .name == "isDateBased", .descriptor == "()Z" unsafe { let __jni_args = []; let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env); let (__jni_class, __jni_method) = __jni_env.require_class_method("java/time/temporal/ChronoUnit\0", "isDateBased\0", "()Z\0"); __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [isTimeBased](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#isTimeBased()) pub fn is_time_based<'env>(&'env self) -> __jni_bindgen::Result<bool> { // class.path == "java/time/temporal/ChronoUnit", java.flags == PUBLIC, .name == "isTimeBased", .descriptor == "()Z" unsafe { let __jni_args = []; let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env); let (__jni_class, __jni_method) = __jni_env.require_class_method("java/time/temporal/ChronoUnit\0", "isTimeBased\0", "()Z\0"); __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [isSupportedBy](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#isSupportedBy(java,%2520time,%2520temporal,%2520Temporal)) /// /// Required features: "java-time-temporal-Temporal" #[cfg(any(feature = "all", all(feature = "java-time-temporal-Temporal")))] pub fn is_supported_by<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::temporal::Temporal>>) -> __jni_bindgen::Result<bool> { // class.path == "java/time/temporal/ChronoUnit", java.flags == PUBLIC, .name == "isSupportedBy", .descriptor == "(Ljava/time/temporal/Temporal;)Z" unsafe { let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())]; let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env); let (__jni_class, __jni_method) = __jni_env.require_class_method("java/time/temporal/ChronoUnit\0", "isSupportedBy\0", "(Ljava/time/temporal/Temporal;)Z\0"); __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [addTo](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#addTo(java,%2520time,%2520temporal,%2520Temporal,%2520long)) /// /// Required features: "java-time-temporal-Temporal" #[cfg(any(feature = "all", all(feature = "java-time-temporal-Temporal")))] pub fn add_to<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::temporal::Temporal>>, arg1: i64) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::temporal::Temporal>>> { // class.path == "java/time/temporal/ChronoUnit", java.flags == PUBLIC, .name == "addTo", .descriptor == "(Ljava/time/temporal/Temporal;J)Ljava/time/temporal/Temporal;" unsafe { let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)]; let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env); let (__jni_class, __jni_method) = __jni_env.require_class_method("java/time/temporal/ChronoUnit\0", "addTo\0", "(Ljava/time/temporal/Temporal;J)Ljava/time/temporal/Temporal;\0"); __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [between](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#between(java,%2520time,%2520temporal,%2520Temporal,%2520java,%2520time,%2520temporal,%2520Temporal)) /// /// Required features: "java-time-temporal-Temporal" #[cfg(any(feature = "all", all(feature = "java-time-temporal-Temporal")))] pub fn between<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::temporal::Temporal>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::temporal::Temporal>>) -> __jni_bindgen::Result<i64> { // class.path == "java/time/temporal/ChronoUnit", java.flags == PUBLIC, .name == "between", .descriptor == "(Ljava/time/temporal/Temporal;Ljava/time/temporal/Temporal;)J" unsafe { let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())]; let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env); let (__jni_class, __jni_method) = __jni_env.require_class_method("java/time/temporal/ChronoUnit\0", "between\0", "(Ljava/time/temporal/Temporal;Ljava/time/temporal/Temporal;)J\0"); __jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [toString](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#toString()) /// /// Required features: "java-lang-String" #[cfg(any(feature = "all", all(feature = "java-lang-String")))] pub fn to_string<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>> { // class.path == "java/time/temporal/ChronoUnit", java.flags == PUBLIC, .name == "toString", .descriptor == "()Ljava/lang/String;" unsafe { let __jni_args = []; let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env); let (__jni_class, __jni_method) = __jni_env.require_class_method("java/time/temporal/ChronoUnit\0", "toString\0", "()Ljava/lang/String;\0"); __jni_env.call_object_method_a(self.0.object, __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/temporal/ChronoUnit", java.flags == STATIC, .name == "<clinit>", .descriptor == "()V" // unsafe { // let __jni_args = []; // let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/time/temporal/ChronoUnit\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 [NANOS](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#NANOS) // /// // /// Required feature: java-time-temporal-ChronoUnit // #[cfg(any(feature = "all", feature = "java-time-temporal-ChronoUnit"))] // pub fn nanos<'env>(env: &'env __jni_bindgen::Env) -> java/time/temporal/ChronoUnit { // unsafe { // let (class, field) = env.require_class_static_field("java/time/temporal/ChronoUnit\0", "NANOS\0", "Ljava/time/temporal/ChronoUnit;\0"); // env.get_static_object_field(class, field) // } // } // // Not emitting: Haven't yet implemented object field types // /// **get** public static final [MICROS](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#MICROS) // /// // /// Required feature: java-time-temporal-ChronoUnit // #[cfg(any(feature = "all", feature = "java-time-temporal-ChronoUnit"))] // pub fn micros<'env>(env: &'env __jni_bindgen::Env) -> java/time/temporal/ChronoUnit { // unsafe { // let (class, field) = env.require_class_static_field("java/time/temporal/ChronoUnit\0", "MICROS\0", "Ljava/time/temporal/ChronoUnit;\0"); // env.get_static_object_field(class, field) // } // } // // Not emitting: Haven't yet implemented object field types // /// **get** public static final [MILLIS](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#MILLIS) // /// // /// Required feature: java-time-temporal-ChronoUnit // #[cfg(any(feature = "all", feature = "java-time-temporal-ChronoUnit"))] // pub fn millis<'env>(env: &'env __jni_bindgen::Env) -> java/time/temporal/ChronoUnit { // unsafe { // let (class, field) = env.require_class_static_field("java/time/temporal/ChronoUnit\0", "MILLIS\0", "Ljava/time/temporal/ChronoUnit;\0"); // env.get_static_object_field(class, field) // } // } // // Not emitting: Haven't yet implemented object field types // /// **get** public static final [SECONDS](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#SECONDS) // /// // /// Required feature: java-time-temporal-ChronoUnit // #[cfg(any(feature = "all", feature = "java-time-temporal-ChronoUnit"))] // pub fn seconds<'env>(env: &'env __jni_bindgen::Env) -> java/time/temporal/ChronoUnit { // unsafe { // let (class, field) = env.require_class_static_field("java/time/temporal/ChronoUnit\0", "SECONDS\0", "Ljava/time/temporal/ChronoUnit;\0"); // env.get_static_object_field(class, field) // } // } // // Not emitting: Haven't yet implemented object field types // /// **get** public static final [MINUTES](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#MINUTES) // /// // /// Required feature: java-time-temporal-ChronoUnit // #[cfg(any(feature = "all", feature = "java-time-temporal-ChronoUnit"))] // pub fn minutes<'env>(env: &'env __jni_bindgen::Env) -> java/time/temporal/ChronoUnit { // unsafe { // let (class, field) = env.require_class_static_field("java/time/temporal/ChronoUnit\0", "MINUTES\0", "Ljava/time/temporal/ChronoUnit;\0"); // env.get_static_object_field(class, field) // } // } // // Not emitting: Haven't yet implemented object field types // /// **get** public static final [HOURS](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#HOURS) // /// // /// Required feature: java-time-temporal-ChronoUnit // #[cfg(any(feature = "all", feature = "java-time-temporal-ChronoUnit"))] // pub fn hours<'env>(env: &'env __jni_bindgen::Env) -> java/time/temporal/ChronoUnit { // unsafe { // let (class, field) = env.require_class_static_field("java/time/temporal/ChronoUnit\0", "HOURS\0", "Ljava/time/temporal/ChronoUnit;\0"); // env.get_static_object_field(class, field) // } // } // // Not emitting: Haven't yet implemented object field types // /// **get** public static final [HALF_DAYS](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#HALF_DAYS) // /// // /// Required feature: java-time-temporal-ChronoUnit // #[cfg(any(feature = "all", feature = "java-time-temporal-ChronoUnit"))] // pub fn half_days<'env>(env: &'env __jni_bindgen::Env) -> java/time/temporal/ChronoUnit { // unsafe { // let (class, field) = env.require_class_static_field("java/time/temporal/ChronoUnit\0", "HALF_DAYS\0", "Ljava/time/temporal/ChronoUnit;\0"); // env.get_static_object_field(class, field) // } // } // // Not emitting: Haven't yet implemented object field types // /// **get** public static final [DAYS](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#DAYS) // /// // /// Required feature: java-time-temporal-ChronoUnit // #[cfg(any(feature = "all", feature = "java-time-temporal-ChronoUnit"))] // pub fn days<'env>(env: &'env __jni_bindgen::Env) -> java/time/temporal/ChronoUnit { // unsafe { // let (class, field) = env.require_class_static_field("java/time/temporal/ChronoUnit\0", "DAYS\0", "Ljava/time/temporal/ChronoUnit;\0"); // env.get_static_object_field(class, field) // } // } // // Not emitting: Haven't yet implemented object field types // /// **get** public static final [WEEKS](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#WEEKS) // /// // /// Required feature: java-time-temporal-ChronoUnit // #[cfg(any(feature = "all", feature = "java-time-temporal-ChronoUnit"))] // pub fn weeks<'env>(env: &'env __jni_bindgen::Env) -> java/time/temporal/ChronoUnit { // unsafe { // let (class, field) = env.require_class_static_field("java/time/temporal/ChronoUnit\0", "WEEKS\0", "Ljava/time/temporal/ChronoUnit;\0"); // env.get_static_object_field(class, field) // } // } // // Not emitting: Haven't yet implemented object field types // /// **get** public static final [MONTHS](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#MONTHS) // /// // /// Required feature: java-time-temporal-ChronoUnit // #[cfg(any(feature = "all", feature = "java-time-temporal-ChronoUnit"))] // pub fn months<'env>(env: &'env __jni_bindgen::Env) -> java/time/temporal/ChronoUnit { // unsafe { // let (class, field) = env.require_class_static_field("java/time/temporal/ChronoUnit\0", "MONTHS\0", "Ljava/time/temporal/ChronoUnit;\0"); // env.get_static_object_field(class, field) // } // } // // Not emitting: Haven't yet implemented object field types // /// **get** public static final [YEARS](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#YEARS) // /// // /// Required feature: java-time-temporal-ChronoUnit // #[cfg(any(feature = "all", feature = "java-time-temporal-ChronoUnit"))] // pub fn years<'env>(env: &'env __jni_bindgen::Env) -> java/time/temporal/ChronoUnit { // unsafe { // let (class, field) = env.require_class_static_field("java/time/temporal/ChronoUnit\0", "YEARS\0", "Ljava/time/temporal/ChronoUnit;\0"); // env.get_static_object_field(class, field) // } // } // // Not emitting: Haven't yet implemented object field types // /// **get** public static final [DECADES](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#DECADES) // /// // /// Required feature: java-time-temporal-ChronoUnit // #[cfg(any(feature = "all", feature = "java-time-temporal-ChronoUnit"))] // pub fn decades<'env>(env: &'env __jni_bindgen::Env) -> java/time/temporal/ChronoUnit { // unsafe { // let (class, field) = env.require_class_static_field("java/time/temporal/ChronoUnit\0", "DECADES\0", "Ljava/time/temporal/ChronoUnit;\0"); // env.get_static_object_field(class, field) // } // } // // Not emitting: Haven't yet implemented object field types // /// **get** public static final [CENTURIES](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#CENTURIES) // /// // /// Required feature: java-time-temporal-ChronoUnit // #[cfg(any(feature = "all", feature = "java-time-temporal-ChronoUnit"))] // pub fn centuries<'env>(env: &'env __jni_bindgen::Env) -> java/time/temporal/ChronoUnit { // unsafe { // let (class, field) = env.require_class_static_field("java/time/temporal/ChronoUnit\0", "CENTURIES\0", "Ljava/time/temporal/ChronoUnit;\0"); // env.get_static_object_field(class, field) // } // } // // Not emitting: Haven't yet implemented object field types // /// **get** public static final [MILLENNIA](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#MILLENNIA) // /// // /// Required feature: java-time-temporal-ChronoUnit // #[cfg(any(feature = "all", feature = "java-time-temporal-ChronoUnit"))] // pub fn millennia<'env>(env: &'env __jni_bindgen::Env) -> java/time/temporal/ChronoUnit { // unsafe { // let (class, field) = env.require_class_static_field("java/time/temporal/ChronoUnit\0", "MILLENNIA\0", "Ljava/time/temporal/ChronoUnit;\0"); // env.get_static_object_field(class, field) // } // } // // Not emitting: Haven't yet implemented object field types // /// **get** public static final [ERAS](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#ERAS) // /// // /// Required feature: java-time-temporal-ChronoUnit // #[cfg(any(feature = "all", feature = "java-time-temporal-ChronoUnit"))] // pub fn eras<'env>(env: &'env __jni_bindgen::Env) -> java/time/temporal/ChronoUnit { // unsafe { // let (class, field) = env.require_class_static_field("java/time/temporal/ChronoUnit\0", "ERAS\0", "Ljava/time/temporal/ChronoUnit;\0"); // env.get_static_object_field(class, field) // } // } // // Not emitting: Haven't yet implemented object field types // /// **get** public static final [FOREVER](https://developer.android.com/reference/java/time/temporal/ChronoUnit.html#FOREVER) // /// // /// Required feature: java-time-temporal-ChronoUnit // #[cfg(any(feature = "all", feature = "java-time-temporal-ChronoUnit"))] // pub fn forever<'env>(env: &'env __jni_bindgen::Env) -> java/time/temporal/ChronoUnit { // unsafe { // let (class, field) = env.require_class_static_field("java/time/temporal/ChronoUnit\0", "FOREVER\0", "Ljava/time/temporal/ChronoUnit;\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) -> ??? { ... } } }