r##"#[no_mangle] pub extern "C" fn Java_org_example_NavigationService_do_1subscribeOnUpdates( env: *mut JNIEnv, _: jclass, this: jlong, session: jlong, ) -> () { let session: *mut Mutex = unsafe { jlong_to_pointer::>(session) .as_mut() .unwrap() }; let session: Arc> = unsafe { Arc::from_raw(session) }; let tmp: Arc> = session; let session: Arc> = tmp.clone(); ::std::mem::forget(tmp); let this: &mut Mutex = unsafe { jlong_to_pointer::>(this) .as_mut() .unwrap() }; let mut this: &Mutex = this; let mut this: MutexGuard = this.lock().unwrap(); let mut this: &mut NavigationService = &mut this; let mut ret: () = subscribeOnUpdates(this, session); ret }"##; r##"#[no_mangle] pub extern "C" fn Java_org_example_Session_do_1setFoo( env: *mut JNIEnv, _: jclass, this: jlong, a0: jint, ) -> () { let mut a0: i32 = a0; let this: &mut Mutex = unsafe { jlong_to_pointer::>(this).as_mut().unwrap() }; let mut this: &Mutex = this; let mut this: MutexGuard = this.lock().unwrap(); let mut this: &mut Session = &mut this; let mut ret: () = setFoo(this, a0); ret }"##;