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
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


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

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

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