jni-android-sys 0.0.10

Autogenerated glue code for access Android JVM APIs from Rust
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


#[cfg(any(feature = "all", feature = "junit-runner-Version"))]
__jni_bindgen! {
    /// public class [Version](https://developer.android.com/reference/junit/runner/Version.html)
    ///
    /// Required feature: "junit-runner-Version"
    public class Version ("junit/runner/Version") extends crate::java::lang::Object {

        /// [id](https://developer.android.com/reference/junit/runner/Version.html#id())
        ///
        /// Required features: "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "java-lang-String")))]
        pub fn id<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "junit/runner/Version", java.flags == PUBLIC | STATIC, .name == "id", .descriptor == "()Ljava/lang/String;"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("junit/runner/Version\0", "id\0", "()Ljava/lang/String;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }
    }
}