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 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560
// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!! __jni_bindgen! { /// public class [ForkJoinPool](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html) /// /// Required feature: java-util-concurrent-ForkJoinPool #[cfg(any(feature = "all", feature = "java-util-concurrent-ForkJoinPool"))] public class ForkJoinPool extends crate::java::util::concurrent::AbstractExecutorService { /// <init> pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::Result<__jni_bindgen::Local<'env, crate::java::util::concurrent::ForkJoinPool>> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "<init>", .descriptor == "()V" unsafe { let __jni_args = []; let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ForkJoinPool\0", "<init>\0", "()V\0"); __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr()) } } /// <init> pub fn new_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32) -> __jni_bindgen::Result<__jni_bindgen::Local<'env, crate::java::util::concurrent::ForkJoinPool>> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "<init>", .descriptor == "(I)V" unsafe { let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)]; let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ForkJoinPool\0", "<init>\0", "(I)V\0"); __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr()) } } /// <init> /// /// Required features: "java-lang-Thread_UncaughtExceptionHandler", "java-util-concurrent-ForkJoinPool_ForkJoinWorkerThreadFactory" #[cfg(any(feature = "all", all(feature = "java-lang-Thread_UncaughtExceptionHandler", feature = "java-util-concurrent-ForkJoinPool_ForkJoinWorkerThreadFactory")))] pub fn new_int_fork_join_worker_thread_factory_uncaught_exception_handler_boolean<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::concurrent::ForkJoinPool_ForkJoinWorkerThreadFactory>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Thread_UncaughtExceptionHandler>>, arg3: bool) -> __jni_bindgen::Result<__jni_bindgen::Local<'env, crate::java::util::concurrent::ForkJoinPool>> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "<init>", .descriptor == "(ILjava/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory;Ljava/lang/Thread$UncaughtExceptionHandler;Z)V" unsafe { let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into()), __jni_bindgen::AsJValue::as_jvalue(&arg3)]; let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ForkJoinPool\0", "<init>\0", "(ILjava/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory;Ljava/lang/Thread$UncaughtExceptionHandler;Z)V\0"); __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr()) } } /// [commonPool](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#commonPool()) /// /// Required features: "java-util-concurrent-ForkJoinPool" #[cfg(any(feature = "all", all(feature = "java-util-concurrent-ForkJoinPool")))] pub fn common_pool<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::concurrent::ForkJoinPool>>> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC | STATIC, .name == "commonPool", .descriptor == "()Ljava/util/concurrent/ForkJoinPool;" unsafe { let __jni_args = []; let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/util/concurrent/ForkJoinPool\0", "commonPool\0", "()Ljava/util/concurrent/ForkJoinPool;\0"); __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr()) } } /// [invoke](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#invoke(java,%2520util,%2520concurrent,%2520ForkJoinTask)) /// /// Required features: "java-lang-Object", "java-util-concurrent-ForkJoinTask" #[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "java-util-concurrent-ForkJoinTask")))] pub fn invoke<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::concurrent::ForkJoinTask>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "invoke", .descriptor == "(Ljava/util/concurrent/ForkJoinTask;)Ljava/lang/Object;" 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/util/concurrent/ForkJoinPool\0", "invoke\0", "(Ljava/util/concurrent/ForkJoinTask;)Ljava/lang/Object;\0"); __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [execute](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#execute(java,%2520util,%2520concurrent,%2520ForkJoinTask)) /// /// Required features: "java-util-concurrent-ForkJoinTask" #[cfg(any(feature = "all", all(feature = "java-util-concurrent-ForkJoinTask")))] pub fn execute_fork_join_task<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::concurrent::ForkJoinTask>>) -> __jni_bindgen::Result<()> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "execute", .descriptor == "(Ljava/util/concurrent/ForkJoinTask;)V" 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/util/concurrent/ForkJoinPool\0", "execute\0", "(Ljava/util/concurrent/ForkJoinTask;)V\0"); __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [execute](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#execute(java,%2520lang,%2520Runnable)) /// /// Required features: "java-lang-Runnable" #[cfg(any(feature = "all", all(feature = "java-lang-Runnable")))] pub fn execute_runnable<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Runnable>>) -> __jni_bindgen::Result<()> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "execute", .descriptor == "(Ljava/lang/Runnable;)V" 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/util/concurrent/ForkJoinPool\0", "execute\0", "(Ljava/lang/Runnable;)V\0"); __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [submit](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#submit(java,%2520util,%2520concurrent,%2520ForkJoinTask)) /// /// Required features: "java-util-concurrent-ForkJoinTask" #[cfg(any(feature = "all", all(feature = "java-util-concurrent-ForkJoinTask")))] pub fn submit_fork_join_task<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::concurrent::ForkJoinTask>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::concurrent::ForkJoinTask>>> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "submit", .descriptor == "(Ljava/util/concurrent/ForkJoinTask;)Ljava/util/concurrent/ForkJoinTask;" 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/util/concurrent/ForkJoinPool\0", "submit\0", "(Ljava/util/concurrent/ForkJoinTask;)Ljava/util/concurrent/ForkJoinTask;\0"); __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [submit](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#submit(java,%2520util,%2520concurrent,%2520Callable)) /// /// Required features: "java-util-concurrent-Callable", "java-util-concurrent-ForkJoinTask" #[cfg(any(feature = "all", all(feature = "java-util-concurrent-Callable", feature = "java-util-concurrent-ForkJoinTask")))] pub fn submit_callable<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::concurrent::Callable>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::concurrent::ForkJoinTask>>> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "submit", .descriptor == "(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/ForkJoinTask;" 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/util/concurrent/ForkJoinPool\0", "submit\0", "(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/ForkJoinTask;\0"); __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [submit](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#submit(java,%2520lang,%2520Runnable,%2520java,%2520lang,%2520Object)) /// /// Required features: "java-lang-Object", "java-lang-Runnable", "java-util-concurrent-ForkJoinTask" #[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "java-lang-Runnable", feature = "java-util-concurrent-ForkJoinTask")))] pub fn submit_runnable_object<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Runnable>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::concurrent::ForkJoinTask>>> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "submit", .descriptor == "(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/ForkJoinTask;" 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/util/concurrent/ForkJoinPool\0", "submit\0", "(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/ForkJoinTask;\0"); __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [submit](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#submit(java,%2520lang,%2520Runnable)) /// /// Required features: "java-lang-Runnable", "java-util-concurrent-ForkJoinTask" #[cfg(any(feature = "all", all(feature = "java-lang-Runnable", feature = "java-util-concurrent-ForkJoinTask")))] pub fn submit_runnable<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Runnable>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::concurrent::ForkJoinTask>>> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "submit", .descriptor == "(Ljava/lang/Runnable;)Ljava/util/concurrent/ForkJoinTask;" 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/util/concurrent/ForkJoinPool\0", "submit\0", "(Ljava/lang/Runnable;)Ljava/util/concurrent/ForkJoinTask;\0"); __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [invokeAll](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#invokeAll(java,%2520util,%2520Collection)) /// /// Required features: "java-util-Collection", "java-util-List" #[cfg(any(feature = "all", all(feature = "java-util-Collection", feature = "java-util-List")))] pub fn invoke_all<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::Collection>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::List>>> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "invokeAll", .descriptor == "(Ljava/util/Collection;)Ljava/util/List;" 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/util/concurrent/ForkJoinPool\0", "invokeAll\0", "(Ljava/util/Collection;)Ljava/util/List;\0"); __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [getFactory](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#getFactory()) /// /// Required features: "java-util-concurrent-ForkJoinPool_ForkJoinWorkerThreadFactory" #[cfg(any(feature = "all", all(feature = "java-util-concurrent-ForkJoinPool_ForkJoinWorkerThreadFactory")))] pub fn get_factory<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::concurrent::ForkJoinPool_ForkJoinWorkerThreadFactory>>> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "getFactory", .descriptor == "()Ljava/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory;" 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/util/concurrent/ForkJoinPool\0", "getFactory\0", "()Ljava/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory;\0"); __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [getUncaughtExceptionHandler](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#getUncaughtExceptionHandler()) /// /// Required features: "java-lang-Thread_UncaughtExceptionHandler" #[cfg(any(feature = "all", all(feature = "java-lang-Thread_UncaughtExceptionHandler")))] pub fn get_uncaught_exception_handler<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Thread_UncaughtExceptionHandler>>> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "getUncaughtExceptionHandler", .descriptor == "()Ljava/lang/Thread$UncaughtExceptionHandler;" 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/util/concurrent/ForkJoinPool\0", "getUncaughtExceptionHandler\0", "()Ljava/lang/Thread$UncaughtExceptionHandler;\0"); __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [getParallelism](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#getParallelism()) pub fn get_parallelism<'env>(&'env self) -> __jni_bindgen::Result<i32> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "getParallelism", .descriptor == "()I" 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/util/concurrent/ForkJoinPool\0", "getParallelism\0", "()I\0"); __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [getCommonPoolParallelism](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#getCommonPoolParallelism()) pub fn get_common_pool_parallelism<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::Result<i32> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC | STATIC, .name == "getCommonPoolParallelism", .descriptor == "()I" unsafe { let __jni_args = []; let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/util/concurrent/ForkJoinPool\0", "getCommonPoolParallelism\0", "()I\0"); __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr()) } } /// [getPoolSize](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#getPoolSize()) pub fn get_pool_size<'env>(&'env self) -> __jni_bindgen::Result<i32> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "getPoolSize", .descriptor == "()I" 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/util/concurrent/ForkJoinPool\0", "getPoolSize\0", "()I\0"); __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [getAsyncMode](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#getAsyncMode()) pub fn get_async_mode<'env>(&'env self) -> __jni_bindgen::Result<bool> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "getAsyncMode", .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/util/concurrent/ForkJoinPool\0", "getAsyncMode\0", "()Z\0"); __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [getRunningThreadCount](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#getRunningThreadCount()) pub fn get_running_thread_count<'env>(&'env self) -> __jni_bindgen::Result<i32> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "getRunningThreadCount", .descriptor == "()I" 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/util/concurrent/ForkJoinPool\0", "getRunningThreadCount\0", "()I\0"); __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [getActiveThreadCount](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#getActiveThreadCount()) pub fn get_active_thread_count<'env>(&'env self) -> __jni_bindgen::Result<i32> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "getActiveThreadCount", .descriptor == "()I" 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/util/concurrent/ForkJoinPool\0", "getActiveThreadCount\0", "()I\0"); __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [isQuiescent](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#isQuiescent()) pub fn is_quiescent<'env>(&'env self) -> __jni_bindgen::Result<bool> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "isQuiescent", .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/util/concurrent/ForkJoinPool\0", "isQuiescent\0", "()Z\0"); __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [getStealCount](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#getStealCount()) pub fn get_steal_count<'env>(&'env self) -> __jni_bindgen::Result<i64> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "getStealCount", .descriptor == "()J" 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/util/concurrent/ForkJoinPool\0", "getStealCount\0", "()J\0"); __jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [getQueuedTaskCount](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#getQueuedTaskCount()) pub fn get_queued_task_count<'env>(&'env self) -> __jni_bindgen::Result<i64> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "getQueuedTaskCount", .descriptor == "()J" 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/util/concurrent/ForkJoinPool\0", "getQueuedTaskCount\0", "()J\0"); __jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [getQueuedSubmissionCount](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#getQueuedSubmissionCount()) pub fn get_queued_submission_count<'env>(&'env self) -> __jni_bindgen::Result<i32> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "getQueuedSubmissionCount", .descriptor == "()I" 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/util/concurrent/ForkJoinPool\0", "getQueuedSubmissionCount\0", "()I\0"); __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [hasQueuedSubmissions](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#hasQueuedSubmissions()) pub fn has_queued_submissions<'env>(&'env self) -> __jni_bindgen::Result<bool> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "hasQueuedSubmissions", .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/util/concurrent/ForkJoinPool\0", "hasQueuedSubmissions\0", "()Z\0"); __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } // // Not emitting: Non-public method // /// [pollSubmission](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#pollSubmission()) // /// // /// Required features: "java-util-concurrent-ForkJoinTask" // #[cfg(any(feature = "all", all(feature = "java-util-concurrent-ForkJoinTask")))] // fn poll_submission<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::concurrent::ForkJoinTask>>> { // // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PROTECTED, .name == "pollSubmission", .descriptor == "()Ljava/util/concurrent/ForkJoinTask;" // 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/util/concurrent/ForkJoinPool\0", "pollSubmission\0", "()Ljava/util/concurrent/ForkJoinTask;\0"); // __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) // } // } // // Not emitting: Non-public method // /// [drainTasksTo](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#drainTasksTo(java,%2520util,%2520Collection)) // /// // /// Required features: "java-util-Collection" // #[cfg(any(feature = "all", all(feature = "java-util-Collection")))] // fn drain_tasks_to<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::Collection>>) -> __jni_bindgen::Result<i32> { // // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PROTECTED, .name == "drainTasksTo", .descriptor == "(Ljava/util/Collection;)I" // 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/util/concurrent/ForkJoinPool\0", "drainTasksTo\0", "(Ljava/util/Collection;)I\0"); // __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) // } // } /// [toString](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.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/util/concurrent/ForkJoinPool", 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/util/concurrent/ForkJoinPool\0", "toString\0", "()Ljava/lang/String;\0"); __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [shutdown](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#shutdown()) pub fn shutdown<'env>(&'env self) -> __jni_bindgen::Result<()> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "shutdown", .descriptor == "()V" 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/util/concurrent/ForkJoinPool\0", "shutdown\0", "()V\0"); __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [shutdownNow](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#shutdownNow()) /// /// Required features: "java-util-List" #[cfg(any(feature = "all", all(feature = "java-util-List")))] pub fn shutdown_now<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::List>>> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "shutdownNow", .descriptor == "()Ljava/util/List;" 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/util/concurrent/ForkJoinPool\0", "shutdownNow\0", "()Ljava/util/List;\0"); __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [isTerminated](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#isTerminated()) pub fn is_terminated<'env>(&'env self) -> __jni_bindgen::Result<bool> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "isTerminated", .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/util/concurrent/ForkJoinPool\0", "isTerminated\0", "()Z\0"); __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [isTerminating](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#isTerminating()) pub fn is_terminating<'env>(&'env self) -> __jni_bindgen::Result<bool> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "isTerminating", .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/util/concurrent/ForkJoinPool\0", "isTerminating\0", "()Z\0"); __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [isShutdown](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#isShutdown()) pub fn is_shutdown<'env>(&'env self) -> __jni_bindgen::Result<bool> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "isShutdown", .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/util/concurrent/ForkJoinPool\0", "isShutdown\0", "()Z\0"); __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [awaitTermination](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#awaitTermination(long,%2520java,%2520util,%2520concurrent,%2520TimeUnit)) /// /// Required features: "java-util-concurrent-TimeUnit" #[cfg(any(feature = "all", all(feature = "java-util-concurrent-TimeUnit")))] pub fn await_termination<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::concurrent::TimeUnit>>) -> __jni_bindgen::Result<bool> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "awaitTermination", .descriptor == "(JLjava/util/concurrent/TimeUnit;)Z" unsafe { let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __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/util/concurrent/ForkJoinPool\0", "awaitTermination\0", "(JLjava/util/concurrent/TimeUnit;)Z\0"); __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [awaitQuiescence](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#awaitQuiescence(long,%2520java,%2520util,%2520concurrent,%2520TimeUnit)) /// /// Required features: "java-util-concurrent-TimeUnit" #[cfg(any(feature = "all", all(feature = "java-util-concurrent-TimeUnit")))] pub fn await_quiescence<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::concurrent::TimeUnit>>) -> __jni_bindgen::Result<bool> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC, .name == "awaitQuiescence", .descriptor == "(JLjava/util/concurrent/TimeUnit;)Z" unsafe { let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __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/util/concurrent/ForkJoinPool\0", "awaitQuiescence\0", "(JLjava/util/concurrent/TimeUnit;)Z\0"); __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [managedBlock](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#managedBlock(java,%2520util,%2520concurrent,%2520ForkJoinPool.ManagedBlocker)) /// /// Required features: "java-util-concurrent-ForkJoinPool_ManagedBlocker" #[cfg(any(feature = "all", all(feature = "java-util-concurrent-ForkJoinPool_ManagedBlocker")))] pub fn managed_block<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::concurrent::ForkJoinPool_ManagedBlocker>>) -> __jni_bindgen::Result<()> { // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC | STATIC, .name == "managedBlock", .descriptor == "(Ljava/util/concurrent/ForkJoinPool$ManagedBlocker;)V" unsafe { let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())]; let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/util/concurrent/ForkJoinPool\0", "managedBlock\0", "(Ljava/util/concurrent/ForkJoinPool$ManagedBlocker;)V\0"); __jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr()) } } // // Not emitting: Non-public method // /// [newTaskFor](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#newTaskFor(java,%2520lang,%2520Runnable,%2520java,%2520lang,%2520Object)) // /// // /// Required features: "java-lang-Object", "java-lang-Runnable", "java-util-concurrent-RunnableFuture" // #[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "java-lang-Runnable", feature = "java-util-concurrent-RunnableFuture")))] // fn new_task_for<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Runnable>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::concurrent::RunnableFuture>>> { // // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PROTECTED, .name == "newTaskFor", .descriptor == "(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/RunnableFuture;" // 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/util/concurrent/ForkJoinPool\0", "newTaskFor\0", "(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/RunnableFuture;\0"); // __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) // } // } // // Not emitting: Non-public method // /// [newTaskFor](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#newTaskFor(java,%2520util,%2520concurrent,%2520Callable)) // /// // /// Required features: "java-util-concurrent-Callable", "java-util-concurrent-RunnableFuture" // #[cfg(any(feature = "all", all(feature = "java-util-concurrent-Callable", feature = "java-util-concurrent-RunnableFuture")))] // fn new_task_for<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::concurrent::Callable>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::concurrent::RunnableFuture>>> { // // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PROTECTED, .name == "newTaskFor", .descriptor == "(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/RunnableFuture;" // 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/util/concurrent/ForkJoinPool\0", "newTaskFor\0", "(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/RunnableFuture;\0"); // __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) // } // } // // Not emitting: Bridge method - type erasure // /// [submit](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#submit(java,%2520util,%2520concurrent,%2520Callable)) // /// // /// Required features: "java-util-concurrent-Callable", "java-util-concurrent-Future" // #[cfg(any(feature = "all", all(feature = "java-util-concurrent-Callable", feature = "java-util-concurrent-Future")))] // pub fn submit_callable<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::concurrent::Callable>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::concurrent::Future>>> { // // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC | BRIDGE | SYNTHETIC, .name == "submit", .descriptor == "(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future;" // 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/util/concurrent/ForkJoinPool\0", "submit\0", "(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future;\0"); // __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) // } // } // // Not emitting: Bridge method - type erasure // /// [submit](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#submit(java,%2520lang,%2520Runnable,%2520java,%2520lang,%2520Object)) // /// // /// Required features: "java-lang-Object", "java-lang-Runnable", "java-util-concurrent-Future" // #[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "java-lang-Runnable", feature = "java-util-concurrent-Future")))] // pub fn submit_runnable_object<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Runnable>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::concurrent::Future>>> { // // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC | BRIDGE | SYNTHETIC, .name == "submit", .descriptor == "(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/Future;" // 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/util/concurrent/ForkJoinPool\0", "submit\0", "(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/Future;\0"); // __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) // } // } // // Not emitting: Bridge method - type erasure // /// [submit](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#submit(java,%2520lang,%2520Runnable)) // /// // /// Required features: "java-lang-Runnable", "java-util-concurrent-Future" // #[cfg(any(feature = "all", all(feature = "java-lang-Runnable", feature = "java-util-concurrent-Future")))] // pub fn submit_runnable<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Runnable>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::concurrent::Future>>> { // // class.path == "java/util/concurrent/ForkJoinPool", java.flags == PUBLIC | BRIDGE | SYNTHETIC, .name == "submit", .descriptor == "(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;" // 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/util/concurrent/ForkJoinPool\0", "submit\0", "(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;\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/util/concurrent/ForkJoinPool", java.flags == STATIC, .name == "<clinit>", .descriptor == "()V" // unsafe { // let __jni_args = []; // let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/util/concurrent/ForkJoinPool\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 [defaultForkJoinWorkerThreadFactory](https://developer.android.com/reference/java/util/concurrent/ForkJoinPool.html#defaultForkJoinWorkerThreadFactory) // /// // /// Required feature: java-util-concurrent-ForkJoinPool_ForkJoinWorkerThreadFactory // #[cfg(any(feature = "all", feature = "java-util-concurrent-ForkJoinPool_ForkJoinWorkerThreadFactory"))] // pub fn default_fork_join_worker_thread_factory<'env>(env: &'env __jni_bindgen::Env) -> java/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory { // unsafe { // let (class, field) = env.require_class_static_field("java/util/concurrent/ForkJoinPool\0", "defaultForkJoinWorkerThreadFactory\0", "Ljava/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory;\0"); // env.get_static_object_field(class, field) // } // } } }