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 = "org-w3c-dom-Document"))]
__jni_bindgen! {
    /// public interface [Document](https://developer.android.com/reference/org/w3c/dom/Document.html)
    ///
    /// Required feature: "org-w3c-dom-Document"
    public interface Document ("org/w3c/dom/Document") extends crate::java::lang::Object, implements crate::org::w3c::dom::Node {

        /// [getDoctype](https://developer.android.com/reference/org/w3c/dom/Document.html#getDoctype())
        ///
        /// Required features: "org-w3c-dom-DocumentType"
        #[cfg(any(feature = "all", all(feature = "org-w3c-dom-DocumentType")))]
        pub fn getDoctype<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::DocumentType>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "getDoctype", .descriptor == "()Lorg/w3c/dom/DocumentType;"
            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("org/w3c/dom/Document\0", "getDoctype\0", "()Lorg/w3c/dom/DocumentType;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getImplementation](https://developer.android.com/reference/org/w3c/dom/Document.html#getImplementation())
        ///
        /// Required features: "org-w3c-dom-DOMImplementation"
        #[cfg(any(feature = "all", all(feature = "org-w3c-dom-DOMImplementation")))]
        pub fn getImplementation<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::DOMImplementation>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "getImplementation", .descriptor == "()Lorg/w3c/dom/DOMImplementation;"
            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("org/w3c/dom/Document\0", "getImplementation\0", "()Lorg/w3c/dom/DOMImplementation;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getDocumentElement](https://developer.android.com/reference/org/w3c/dom/Document.html#getDocumentElement())
        ///
        /// Required features: "org-w3c-dom-Element"
        #[cfg(any(feature = "all", all(feature = "org-w3c-dom-Element")))]
        pub fn getDocumentElement<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::Element>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "getDocumentElement", .descriptor == "()Lorg/w3c/dom/Element;"
            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("org/w3c/dom/Document\0", "getDocumentElement\0", "()Lorg/w3c/dom/Element;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [createElement](https://developer.android.com/reference/org/w3c/dom/Document.html#createElement(java.lang.String))
        ///
        /// Required features: "java-lang-String", "org-w3c-dom-Element"
        #[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-Element")))]
        pub fn createElement<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::Element>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "createElement", .descriptor == "(Ljava/lang/String;)Lorg/w3c/dom/Element;"
            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("org/w3c/dom/Document\0", "createElement\0", "(Ljava/lang/String;)Lorg/w3c/dom/Element;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [createDocumentFragment](https://developer.android.com/reference/org/w3c/dom/Document.html#createDocumentFragment())
        ///
        /// Required features: "org-w3c-dom-DocumentFragment"
        #[cfg(any(feature = "all", all(feature = "org-w3c-dom-DocumentFragment")))]
        pub fn createDocumentFragment<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::DocumentFragment>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "createDocumentFragment", .descriptor == "()Lorg/w3c/dom/DocumentFragment;"
            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("org/w3c/dom/Document\0", "createDocumentFragment\0", "()Lorg/w3c/dom/DocumentFragment;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [createTextNode](https://developer.android.com/reference/org/w3c/dom/Document.html#createTextNode(java.lang.String))
        ///
        /// Required features: "java-lang-String", "org-w3c-dom-Text"
        #[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-Text")))]
        pub fn createTextNode<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::Text>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "createTextNode", .descriptor == "(Ljava/lang/String;)Lorg/w3c/dom/Text;"
            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("org/w3c/dom/Document\0", "createTextNode\0", "(Ljava/lang/String;)Lorg/w3c/dom/Text;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [createComment](https://developer.android.com/reference/org/w3c/dom/Document.html#createComment(java.lang.String))
        ///
        /// Required features: "java-lang-String", "org-w3c-dom-Comment"
        #[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-Comment")))]
        pub fn createComment<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::Comment>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "createComment", .descriptor == "(Ljava/lang/String;)Lorg/w3c/dom/Comment;"
            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("org/w3c/dom/Document\0", "createComment\0", "(Ljava/lang/String;)Lorg/w3c/dom/Comment;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [createCDATASection](https://developer.android.com/reference/org/w3c/dom/Document.html#createCDATASection(java.lang.String))
        ///
        /// Required features: "java-lang-String", "org-w3c-dom-CDATASection"
        #[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-CDATASection")))]
        pub fn createCDATASection<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::CDATASection>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "createCDATASection", .descriptor == "(Ljava/lang/String;)Lorg/w3c/dom/CDATASection;"
            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("org/w3c/dom/Document\0", "createCDATASection\0", "(Ljava/lang/String;)Lorg/w3c/dom/CDATASection;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [createProcessingInstruction](https://developer.android.com/reference/org/w3c/dom/Document.html#createProcessingInstruction(java.lang.String,%20java.lang.String))
        ///
        /// Required features: "java-lang-String", "org-w3c-dom-ProcessingInstruction"
        #[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-ProcessingInstruction")))]
        pub fn createProcessingInstruction<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::ProcessingInstruction>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "createProcessingInstruction", .descriptor == "(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/ProcessingInstruction;"
            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("org/w3c/dom/Document\0", "createProcessingInstruction\0", "(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/ProcessingInstruction;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [createAttribute](https://developer.android.com/reference/org/w3c/dom/Document.html#createAttribute(java.lang.String))
        ///
        /// Required features: "java-lang-String", "org-w3c-dom-Attr"
        #[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-Attr")))]
        pub fn createAttribute<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::Attr>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "createAttribute", .descriptor == "(Ljava/lang/String;)Lorg/w3c/dom/Attr;"
            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("org/w3c/dom/Document\0", "createAttribute\0", "(Ljava/lang/String;)Lorg/w3c/dom/Attr;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [createEntityReference](https://developer.android.com/reference/org/w3c/dom/Document.html#createEntityReference(java.lang.String))
        ///
        /// Required features: "java-lang-String", "org-w3c-dom-EntityReference"
        #[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-EntityReference")))]
        pub fn createEntityReference<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::EntityReference>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "createEntityReference", .descriptor == "(Ljava/lang/String;)Lorg/w3c/dom/EntityReference;"
            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("org/w3c/dom/Document\0", "createEntityReference\0", "(Ljava/lang/String;)Lorg/w3c/dom/EntityReference;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getElementsByTagName](https://developer.android.com/reference/org/w3c/dom/Document.html#getElementsByTagName(java.lang.String))
        ///
        /// Required features: "java-lang-String", "org-w3c-dom-NodeList"
        #[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-NodeList")))]
        pub fn getElementsByTagName<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::NodeList>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "getElementsByTagName", .descriptor == "(Ljava/lang/String;)Lorg/w3c/dom/NodeList;"
            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("org/w3c/dom/Document\0", "getElementsByTagName\0", "(Ljava/lang/String;)Lorg/w3c/dom/NodeList;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [importNode](https://developer.android.com/reference/org/w3c/dom/Document.html#importNode(org.w3c.dom.Node,%20boolean))
        ///
        /// Required features: "org-w3c-dom-Node"
        #[cfg(any(feature = "all", all(feature = "org-w3c-dom-Node")))]
        pub fn importNode<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::w3c::dom::Node>>, arg1: bool) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::Node>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "importNode", .descriptor == "(Lorg/w3c/dom/Node;Z)Lorg/w3c/dom/Node;"
            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("org/w3c/dom/Document\0", "importNode\0", "(Lorg/w3c/dom/Node;Z)Lorg/w3c/dom/Node;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [createElementNS](https://developer.android.com/reference/org/w3c/dom/Document.html#createElementNS(java.lang.String,%20java.lang.String))
        ///
        /// Required features: "java-lang-String", "org-w3c-dom-Element"
        #[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-Element")))]
        pub fn createElementNS<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::Element>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "createElementNS", .descriptor == "(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;"
            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("org/w3c/dom/Document\0", "createElementNS\0", "(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [createAttributeNS](https://developer.android.com/reference/org/w3c/dom/Document.html#createAttributeNS(java.lang.String,%20java.lang.String))
        ///
        /// Required features: "java-lang-String", "org-w3c-dom-Attr"
        #[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-Attr")))]
        pub fn createAttributeNS<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::Attr>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "createAttributeNS", .descriptor == "(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Attr;"
            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("org/w3c/dom/Document\0", "createAttributeNS\0", "(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Attr;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getElementsByTagNameNS](https://developer.android.com/reference/org/w3c/dom/Document.html#getElementsByTagNameNS(java.lang.String,%20java.lang.String))
        ///
        /// Required features: "java-lang-String", "org-w3c-dom-NodeList"
        #[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-NodeList")))]
        pub fn getElementsByTagNameNS<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::NodeList>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "getElementsByTagNameNS", .descriptor == "(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/NodeList;"
            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("org/w3c/dom/Document\0", "getElementsByTagNameNS\0", "(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/NodeList;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getElementById](https://developer.android.com/reference/org/w3c/dom/Document.html#getElementById(java.lang.String))
        ///
        /// Required features: "java-lang-String", "org-w3c-dom-Element"
        #[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-Element")))]
        pub fn getElementById<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::Element>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "getElementById", .descriptor == "(Ljava/lang/String;)Lorg/w3c/dom/Element;"
            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("org/w3c/dom/Document\0", "getElementById\0", "(Ljava/lang/String;)Lorg/w3c/dom/Element;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }
    }
}