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
// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!! __jni_bindgen! { /// public class [ResourceBundle](https://developer.android.com/reference/java/util/ResourceBundle.html) /// /// Required feature: java-util-ResourceBundle #[cfg(any(feature = "all", feature = "java-util-ResourceBundle"))] public class ResourceBundle extends crate::java::lang::Object { /// <init> pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::Result<__jni_bindgen::Local<'env, crate::java::util::ResourceBundle>> { // class.path == "java/util/ResourceBundle", java.flags == PUBLIC, .name == "<init>", .descriptor == "()V" unsafe { let __jni_args = []; let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/ResourceBundle\0", "<init>\0", "()V\0"); __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr()) } } /// [getBaseBundleName](https://developer.android.com/reference/java/util/ResourceBundle.html#getBaseBundleName()) /// /// Required features: "java-lang-String" #[cfg(any(feature = "all", all(feature = "java-lang-String")))] pub fn get_base_bundle_name<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>> { // class.path == "java/util/ResourceBundle", java.flags == PUBLIC, .name == "getBaseBundleName", .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/ResourceBundle\0", "getBaseBundleName\0", "()Ljava/lang/String;\0"); __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [getString](https://developer.android.com/reference/java/util/ResourceBundle.html#getString(java,%2520lang,%2520String)) /// /// Required features: "java-lang-String" #[cfg(any(feature = "all", all(feature = "java-lang-String")))] pub fn get_string<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>> { // class.path == "java/util/ResourceBundle", java.flags == PUBLIC | FINAL, .name == "getString", .descriptor == "(Ljava/lang/String;)Ljava/lang/String;" 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/ResourceBundle\0", "getString\0", "(Ljava/lang/String;)Ljava/lang/String;\0"); __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } // // Not emitting: Returning arrays of objects not yet supported // /// [getStringArray](https://developer.android.com/reference/java/util/ResourceBundle.html#getStringArray(java,%2520lang,%2520String)) // /// // /// Required features: "java-lang-String" // #[cfg(any(feature = "all", all(feature = "java-lang-String")))] // pub fn get_string_array<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<Array { levels: 1, inner: Class(Id("java/lang/String")) }> { // // class.path == "java/util/ResourceBundle", java.flags == PUBLIC | FINAL, .name == "getStringArray", .descriptor == "(Ljava/lang/String;)[Ljava/lang/String;" // 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/ResourceBundle\0", "getStringArray\0", "(Ljava/lang/String;)[Ljava/lang/String;\0"); // __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) // } // } /// [getObject](https://developer.android.com/reference/java/util/ResourceBundle.html#getObject(java,%2520lang,%2520String)) /// /// Required features: "java-lang-Object", "java-lang-String" #[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "java-lang-String")))] pub fn get_object<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>> { // class.path == "java/util/ResourceBundle", java.flags == PUBLIC | FINAL, .name == "getObject", .descriptor == "(Ljava/lang/String;)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/ResourceBundle\0", "getObject\0", "(Ljava/lang/String;)Ljava/lang/Object;\0"); __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [getLocale](https://developer.android.com/reference/java/util/ResourceBundle.html#getLocale()) /// /// Required features: "java-util-Locale" #[cfg(any(feature = "all", all(feature = "java-util-Locale")))] pub fn get_locale<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Locale>>> { // class.path == "java/util/ResourceBundle", java.flags == PUBLIC, .name == "getLocale", .descriptor == "()Ljava/util/Locale;" 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/ResourceBundle\0", "getLocale\0", "()Ljava/util/Locale;\0"); __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } // // Not emitting: Non-public method // /// [setParent](https://developer.android.com/reference/java/util/ResourceBundle.html#setParent(java,%2520util,%2520ResourceBundle)) // /// // /// Required features: "java-util-ResourceBundle" // #[cfg(any(feature = "all", all(feature = "java-util-ResourceBundle")))] // fn set_parent<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::ResourceBundle>>) -> __jni_bindgen::Result<()> { // // class.path == "java/util/ResourceBundle", java.flags == PROTECTED, .name == "setParent", .descriptor == "(Ljava/util/ResourceBundle;)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/ResourceBundle\0", "setParent\0", "(Ljava/util/ResourceBundle;)V\0"); // __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) // } // } /// [getBundle](https://developer.android.com/reference/java/util/ResourceBundle.html#getBundle(java,%2520lang,%2520String)) /// /// Required features: "java-lang-String", "java-util-ResourceBundle" #[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "java-util-ResourceBundle")))] pub fn get_bundle_string<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::ResourceBundle>>> { // class.path == "java/util/ResourceBundle", java.flags == PUBLIC | STATIC | FINAL, .name == "getBundle", .descriptor == "(Ljava/lang/String;)Ljava/util/ResourceBundle;" unsafe { let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())]; let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/util/ResourceBundle\0", "getBundle\0", "(Ljava/lang/String;)Ljava/util/ResourceBundle;\0"); __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr()) } } /// [getBundle](https://developer.android.com/reference/java/util/ResourceBundle.html#getBundle(java,%2520lang,%2520String,%2520java,%2520util,%2520ResourceBundle.Control)) /// /// Required features: "java-lang-String", "java-util-ResourceBundle", "java-util-ResourceBundle_Control" #[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "java-util-ResourceBundle", feature = "java-util-ResourceBundle_Control")))] pub fn get_bundle_string_control<'env>(__jni_env: &'env __jni_bindgen::Env, 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::util::ResourceBundle_Control>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::ResourceBundle>>> { // class.path == "java/util/ResourceBundle", java.flags == PUBLIC | STATIC | FINAL, .name == "getBundle", .descriptor == "(Ljava/lang/String;Ljava/util/ResourceBundle$Control;)Ljava/util/ResourceBundle;" unsafe { let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())]; let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/util/ResourceBundle\0", "getBundle\0", "(Ljava/lang/String;Ljava/util/ResourceBundle$Control;)Ljava/util/ResourceBundle;\0"); __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr()) } } /// [getBundle](https://developer.android.com/reference/java/util/ResourceBundle.html#getBundle(java,%2520lang,%2520String,%2520java,%2520util,%2520Locale)) /// /// Required features: "java-lang-String", "java-util-Locale", "java-util-ResourceBundle" #[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "java-util-Locale", feature = "java-util-ResourceBundle")))] pub fn get_bundle_string_locale<'env>(__jni_env: &'env __jni_bindgen::Env, 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::util::Locale>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::ResourceBundle>>> { // class.path == "java/util/ResourceBundle", java.flags == PUBLIC | STATIC | FINAL, .name == "getBundle", .descriptor == "(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;" unsafe { let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())]; let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/util/ResourceBundle\0", "getBundle\0", "(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;\0"); __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr()) } } /// [getBundle](https://developer.android.com/reference/java/util/ResourceBundle.html#getBundle(java,%2520lang,%2520String,%2520java,%2520util,%2520Locale,%2520java,%2520util,%2520ResourceBundle.Control)) /// /// Required features: "java-lang-String", "java-util-Locale", "java-util-ResourceBundle", "java-util-ResourceBundle_Control" #[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "java-util-Locale", feature = "java-util-ResourceBundle", feature = "java-util-ResourceBundle_Control")))] pub fn get_bundle_string_locale_control<'env>(__jni_env: &'env __jni_bindgen::Env, 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::util::Locale>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::ResourceBundle_Control>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::ResourceBundle>>> { // class.path == "java/util/ResourceBundle", java.flags == PUBLIC | STATIC | FINAL, .name == "getBundle", .descriptor == "(Ljava/lang/String;Ljava/util/Locale;Ljava/util/ResourceBundle$Control;)Ljava/util/ResourceBundle;" unsafe { let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())]; let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/util/ResourceBundle\0", "getBundle\0", "(Ljava/lang/String;Ljava/util/Locale;Ljava/util/ResourceBundle$Control;)Ljava/util/ResourceBundle;\0"); __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr()) } } /// [getBundle](https://developer.android.com/reference/java/util/ResourceBundle.html#getBundle(java,%2520lang,%2520String,%2520java,%2520util,%2520Locale,%2520java,%2520lang,%2520ClassLoader)) /// /// Required features: "java-lang-ClassLoader", "java-lang-String", "java-util-Locale", "java-util-ResourceBundle" #[cfg(any(feature = "all", all(feature = "java-lang-ClassLoader", feature = "java-lang-String", feature = "java-util-Locale", feature = "java-util-ResourceBundle")))] pub fn get_bundle_string_locale_class_loader<'env>(__jni_env: &'env __jni_bindgen::Env, 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::util::Locale>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::ClassLoader>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::ResourceBundle>>> { // class.path == "java/util/ResourceBundle", java.flags == PUBLIC | STATIC, .name == "getBundle", .descriptor == "(Ljava/lang/String;Ljava/util/Locale;Ljava/lang/ClassLoader;)Ljava/util/ResourceBundle;" unsafe { let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())]; let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/util/ResourceBundle\0", "getBundle\0", "(Ljava/lang/String;Ljava/util/Locale;Ljava/lang/ClassLoader;)Ljava/util/ResourceBundle;\0"); __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr()) } } /// [getBundle](https://developer.android.com/reference/java/util/ResourceBundle.html#getBundle(java,%2520lang,%2520String,%2520java,%2520util,%2520Locale,%2520java,%2520lang,%2520ClassLoader,%2520java,%2520util,%2520ResourceBundle.Control)) /// /// Required features: "java-lang-ClassLoader", "java-lang-String", "java-util-Locale", "java-util-ResourceBundle", "java-util-ResourceBundle_Control" #[cfg(any(feature = "all", all(feature = "java-lang-ClassLoader", feature = "java-lang-String", feature = "java-util-Locale", feature = "java-util-ResourceBundle", feature = "java-util-ResourceBundle_Control")))] pub fn get_bundle_string_locale_class_loader_control<'env>(__jni_env: &'env __jni_bindgen::Env, 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::util::Locale>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::ClassLoader>>, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::ResourceBundle_Control>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::ResourceBundle>>> { // class.path == "java/util/ResourceBundle", java.flags == PUBLIC | STATIC, .name == "getBundle", .descriptor == "(Ljava/lang/String;Ljava/util/Locale;Ljava/lang/ClassLoader;Ljava/util/ResourceBundle$Control;)Ljava/util/ResourceBundle;" unsafe { let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into()), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())]; let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/util/ResourceBundle\0", "getBundle\0", "(Ljava/lang/String;Ljava/util/Locale;Ljava/lang/ClassLoader;Ljava/util/ResourceBundle$Control;)Ljava/util/ResourceBundle;\0"); __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr()) } } /// [clearCache](https://developer.android.com/reference/java/util/ResourceBundle.html#clearCache()) pub fn clear_cache<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::Result<()> { // class.path == "java/util/ResourceBundle", java.flags == PUBLIC | STATIC | FINAL, .name == "clearCache", .descriptor == "()V" unsafe { let __jni_args = []; let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/util/ResourceBundle\0", "clearCache\0", "()V\0"); __jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr()) } } /// [clearCache](https://developer.android.com/reference/java/util/ResourceBundle.html#clearCache(java,%2520lang,%2520ClassLoader)) /// /// Required features: "java-lang-ClassLoader" #[cfg(any(feature = "all", all(feature = "java-lang-ClassLoader")))] pub fn clear_cache_class_loader<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::ClassLoader>>) -> __jni_bindgen::Result<()> { // class.path == "java/util/ResourceBundle", java.flags == PUBLIC | STATIC | FINAL, .name == "clearCache", .descriptor == "(Ljava/lang/ClassLoader;)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/ResourceBundle\0", "clearCache\0", "(Ljava/lang/ClassLoader;)V\0"); __jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr()) } } // // Not emitting: Non-public method // /// [handleGetObject](https://developer.android.com/reference/java/util/ResourceBundle.html#handleGetObject(java,%2520lang,%2520String)) // /// // /// Required features: "java-lang-Object", "java-lang-String" // #[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "java-lang-String")))] // fn handle_get_object<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>> { // // class.path == "java/util/ResourceBundle", java.flags == PROTECTED | ABSTRACT, .name == "handleGetObject", .descriptor == "(Ljava/lang/String;)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/ResourceBundle\0", "handleGetObject\0", "(Ljava/lang/String;)Ljava/lang/Object;\0"); // __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) // } // } /// [getKeys](https://developer.android.com/reference/java/util/ResourceBundle.html#getKeys()) /// /// Required features: "java-util-Enumeration" #[cfg(any(feature = "all", all(feature = "java-util-Enumeration")))] pub fn get_keys<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Enumeration>>> { // class.path == "java/util/ResourceBundle", java.flags == PUBLIC | ABSTRACT, .name == "getKeys", .descriptor == "()Ljava/util/Enumeration;" 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/ResourceBundle\0", "getKeys\0", "()Ljava/util/Enumeration;\0"); __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [containsKey](https://developer.android.com/reference/java/util/ResourceBundle.html#containsKey(java,%2520lang,%2520String)) /// /// Required features: "java-lang-String" #[cfg(any(feature = "all", all(feature = "java-lang-String")))] pub fn contains_key<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<bool> { // class.path == "java/util/ResourceBundle", java.flags == PUBLIC, .name == "containsKey", .descriptor == "(Ljava/lang/String;)Z" 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/ResourceBundle\0", "containsKey\0", "(Ljava/lang/String;)Z\0"); __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } /// [keySet](https://developer.android.com/reference/java/util/ResourceBundle.html#keySet()) /// /// Required features: "java-util-Set" #[cfg(any(feature = "all", all(feature = "java-util-Set")))] pub fn key_set<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Set>>> { // class.path == "java/util/ResourceBundle", java.flags == PUBLIC, .name == "keySet", .descriptor == "()Ljava/util/Set;" 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/ResourceBundle\0", "keySet\0", "()Ljava/util/Set;\0"); __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) } } // // Not emitting: Non-public method // /// [handleKeySet](https://developer.android.com/reference/java/util/ResourceBundle.html#handleKeySet()) // /// // /// Required features: "java-util-Set" // #[cfg(any(feature = "all", all(feature = "java-util-Set")))] // fn handle_key_set<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Set>>> { // // class.path == "java/util/ResourceBundle", java.flags == PROTECTED, .name == "handleKeySet", .descriptor == "()Ljava/util/Set;" // 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/ResourceBundle\0", "handleKeySet\0", "()Ljava/util/Set;\0"); // __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr()) // } // } // // Not emitting: Non-public method // // Not emitting: Haven't yet implemented object field types // /// **get** protected [parent](https://developer.android.com/reference/java/util/ResourceBundle.html#parent) // /// // /// Required feature: java-util-ResourceBundle // #[cfg(any(feature = "all", feature = "java-util-ResourceBundle"))] // pub fn parent<'env>(&'env self) -> java/util/ResourceBundle { // unsafe { // let env = __jni_bindgen::Env::from_ptr(self.0.env); // let (class, field) = env.require_class_field("java/util/ResourceBundle\0", "parent\0", "Ljava/util/ResourceBundle;\0"); // env.get_object_field(class, field) // } // } // /// **set** protected [parent](https://developer.android.com/reference/java/util/ResourceBundle.html#parent) // /// // /// Required feature: java-util-ResourceBundle // #[cfg(any(feature = "all", feature = "java-util-ResourceBundle"))] // pub fn set_parent<'env>(&'env self, value: java/util/ResourceBundle) { // unsafe { // let env = __jni_bindgen::Env::from_ptr(self.0.env); // let (class, field) = env.require_class_field("java/util/ResourceBundle\0", "parent\0", "Ljava/util/ResourceBundle;\0"); // env.set_object_field(class, field, value) // } // } } }