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
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


__jni_bindgen! {
    /// public class [EditorInfo](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html)
    ///
    /// Required feature: android-view-inputmethod-EditorInfo
    #[cfg(any(feature = "all", feature = "android-view-inputmethod-EditorInfo"))]
    public class EditorInfo extends crate::java::lang::Object, implements crate::android::text::InputType, crate::android::os::Parcelable {

        /// <init>
        pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::Result<__jni_bindgen::Local<'env, crate::android::view::inputmethod::EditorInfo>> {
            // class.path == "android/view/inputmethod/EditorInfo", java.flags == PUBLIC, .name == "<init>", .descriptor == "()V"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/inputmethod/EditorInfo\0", "<init>\0", "()V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [makeCompatible](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#makeCompatible(int))
        pub fn make_compatible<'env>(&'env self, arg0: i32) -> __jni_bindgen::Result<()> {
            // class.path == "android/view/inputmethod/EditorInfo", java.flags == PUBLIC | FINAL, .name == "makeCompatible", .descriptor == "(I)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/inputmethod/EditorInfo\0", "makeCompatible\0", "(I)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [dump](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#dump(android,%2520util,%2520Printer,%2520java,%2520lang,%2520String))
        ///
        /// Required features: "android-util-Printer", "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "android-util-Printer", feature = "java-lang-String")))]
        pub fn dump<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::util::Printer>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<()> {
            // class.path == "android/view/inputmethod/EditorInfo", java.flags == PUBLIC, .name == "dump", .descriptor == "(Landroid/util/Printer;Ljava/lang/String;)V"
            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("android/view/inputmethod/EditorInfo\0", "dump\0", "(Landroid/util/Printer;Ljava/lang/String;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [writeToParcel](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#writeToParcel(android,%2520os,%2520Parcel,%2520int))
        ///
        /// Required features: "android-os-Parcel"
        #[cfg(any(feature = "all", all(feature = "android-os-Parcel")))]
        pub fn write_to_parcel<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::Parcel>>, arg1: i32) -> __jni_bindgen::Result<()> {
            // class.path == "android/view/inputmethod/EditorInfo", java.flags == PUBLIC, .name == "writeToParcel", .descriptor == "(Landroid/os/Parcel;I)V"
            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("android/view/inputmethod/EditorInfo\0", "writeToParcel\0", "(Landroid/os/Parcel;I)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [describeContents](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#describeContents())
        pub fn describe_contents<'env>(&'env self) -> __jni_bindgen::Result<i32> {
            // class.path == "android/view/inputmethod/EditorInfo", java.flags == PUBLIC, .name == "describeContents", .descriptor == "()I"
            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("android/view/inputmethod/EditorInfo\0", "describeContents\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        // // Not emitting: Failed to mangle method name
        // // Not emitting: Non-public method
        // // Not emitting: Static class constructor - never needs to be called by Rust.
        // /// <clinit>
        // fn <clinit><'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::Result<()> {
        //     // class.path == "android/view/inputmethod/EditorInfo", java.flags == STATIC, .name == "<clinit>", .descriptor == "()V"
        //     unsafe {
        //         let __jni_args = [];
        //         let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/inputmethod/EditorInfo\0", "<clinit>\0", "()V\0");
        //         __jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
        //     }
        // }

        // // Not emitting: Haven't yet implemented object field types
        // /// **get** public static final [CREATOR](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#CREATOR)
        // ///
        // /// Required feature: android-os-Parcelable_Creator
        // #[cfg(any(feature = "all", feature = "android-os-Parcelable_Creator"))]
        // pub fn creator<'env>(env: &'env __jni_bindgen::Env) -> android/os/Parcelable$Creator {
        //     unsafe {
        //         let (class, field) = env.require_class_static_field("android/view/inputmethod/EditorInfo\0", "CREATOR\0", "Landroid/os/Parcelable$Creator;\0");
        //         env.get_static_object_field(class, field)
        //     }
        // }

        /// public static final [IME_ACTION_DONE](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#IME_ACTION_DONE)
        pub const IME_ACTION_DONE : i32 = 6;

        /// public static final [IME_ACTION_GO](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#IME_ACTION_GO)
        pub const IME_ACTION_GO : i32 = 2;

        /// public static final [IME_ACTION_NEXT](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#IME_ACTION_NEXT)
        pub const IME_ACTION_NEXT : i32 = 5;

        /// public static final [IME_ACTION_NONE](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#IME_ACTION_NONE)
        pub const IME_ACTION_NONE : i32 = 1;

        /// public static final [IME_ACTION_PREVIOUS](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#IME_ACTION_PREVIOUS)
        pub const IME_ACTION_PREVIOUS : i32 = 7;

        /// public static final [IME_ACTION_SEARCH](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#IME_ACTION_SEARCH)
        pub const IME_ACTION_SEARCH : i32 = 3;

        /// public static final [IME_ACTION_SEND](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#IME_ACTION_SEND)
        pub const IME_ACTION_SEND : i32 = 4;

        /// public static final [IME_ACTION_UNSPECIFIED](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#IME_ACTION_UNSPECIFIED)
        pub const IME_ACTION_UNSPECIFIED : i32 = 0;

        /// public static final [IME_FLAG_FORCE_ASCII](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#IME_FLAG_FORCE_ASCII)
        pub const IME_FLAG_FORCE_ASCII : i32 = -2147483648;

        /// public static final [IME_FLAG_NAVIGATE_NEXT](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#IME_FLAG_NAVIGATE_NEXT)
        pub const IME_FLAG_NAVIGATE_NEXT : i32 = 134217728;

        /// public static final [IME_FLAG_NAVIGATE_PREVIOUS](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#IME_FLAG_NAVIGATE_PREVIOUS)
        pub const IME_FLAG_NAVIGATE_PREVIOUS : i32 = 67108864;

        /// public static final [IME_FLAG_NO_ACCESSORY_ACTION](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#IME_FLAG_NO_ACCESSORY_ACTION)
        pub const IME_FLAG_NO_ACCESSORY_ACTION : i32 = 536870912;

        /// public static final [IME_FLAG_NO_ENTER_ACTION](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#IME_FLAG_NO_ENTER_ACTION)
        pub const IME_FLAG_NO_ENTER_ACTION : i32 = 1073741824;

        /// public static final [IME_FLAG_NO_EXTRACT_UI](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#IME_FLAG_NO_EXTRACT_UI)
        pub const IME_FLAG_NO_EXTRACT_UI : i32 = 268435456;

        /// public static final [IME_FLAG_NO_FULLSCREEN](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#IME_FLAG_NO_FULLSCREEN)
        pub const IME_FLAG_NO_FULLSCREEN : i32 = 33554432;

        /// public static final [IME_FLAG_NO_PERSONALIZED_LEARNING](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#IME_FLAG_NO_PERSONALIZED_LEARNING)
        pub const IME_FLAG_NO_PERSONALIZED_LEARNING : i32 = 16777216;

        /// public static final [IME_MASK_ACTION](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#IME_MASK_ACTION)
        pub const IME_MASK_ACTION : i32 = 255;

        /// public static final [IME_NULL](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#IME_NULL)
        pub const IME_NULL : i32 = 0;

        /// **get** public [actionId](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#actionId)
        pub fn action_id<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "actionId\0", "I\0");
                env.get_int_field(class, field)
            }
        }

        /// **set** public [actionId](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#actionId)
        pub fn set_action_id<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "actionId\0", "I\0");
                env.set_int_field(class, field, value)
            }
        }

        // // Not emitting: Haven't yet implemented object field types
        // /// **get** public [actionLabel](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#actionLabel)
        // ///
        // /// Required feature: java-lang-CharSequence
        // #[cfg(any(feature = "all", feature = "java-lang-CharSequence"))]
        // pub fn action_label<'env>(&'env self) -> java/lang/CharSequence {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "actionLabel\0", "Ljava/lang/CharSequence;\0");
        //         env.get_object_field(class, field)
        //     }
        // }

        // /// **set** public [actionLabel](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#actionLabel)
        // ///
        // /// Required feature: java-lang-CharSequence
        // #[cfg(any(feature = "all", feature = "java-lang-CharSequence"))]
        // pub fn set_action_label<'env>(&'env self, value: java/lang/CharSequence) {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "actionLabel\0", "Ljava/lang/CharSequence;\0");
        //         env.set_object_field(class, field, value)
        //     }
        // }

        // // Not emitting: Haven't yet implemented array field types
        // /// **get** public [contentMimeTypes](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#contentMimeTypes)
        // pub fn content_mime_types<'env>(&'env self) -> ??? {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "contentMimeTypes\0", "[Ljava/lang/String;\0");
        //         env.get_object_field(class, field)
        //     }
        // }

        // /// **set** public [contentMimeTypes](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#contentMimeTypes)
        // pub fn set_content_mime_types<'env>(&'env self, value: ???) {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "contentMimeTypes\0", "[Ljava/lang/String;\0");
        //         env.set_object_field(class, field, value)
        //     }
        // }

        // // Not emitting: Haven't yet implemented object field types
        // /// **get** public [extras](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#extras)
        // ///
        // /// Required feature: android-os-Bundle
        // #[cfg(any(feature = "all", feature = "android-os-Bundle"))]
        // pub fn extras<'env>(&'env self) -> android/os/Bundle {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "extras\0", "Landroid/os/Bundle;\0");
        //         env.get_object_field(class, field)
        //     }
        // }

        // /// **set** public [extras](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#extras)
        // ///
        // /// Required feature: android-os-Bundle
        // #[cfg(any(feature = "all", feature = "android-os-Bundle"))]
        // pub fn set_extras<'env>(&'env self, value: android/os/Bundle) {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "extras\0", "Landroid/os/Bundle;\0");
        //         env.set_object_field(class, field, value)
        //     }
        // }

        /// **get** public [fieldId](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#fieldId)
        pub fn field_id<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "fieldId\0", "I\0");
                env.get_int_field(class, field)
            }
        }

        /// **set** public [fieldId](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#fieldId)
        pub fn set_field_id<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "fieldId\0", "I\0");
                env.set_int_field(class, field, value)
            }
        }

        // // Not emitting: Haven't yet implemented object field types
        // /// **get** public [fieldName](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#fieldName)
        // ///
        // /// Required feature: java-lang-String
        // #[cfg(any(feature = "all", feature = "java-lang-String"))]
        // pub fn field_name<'env>(&'env self) -> java/lang/String {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "fieldName\0", "Ljava/lang/String;\0");
        //         env.get_object_field(class, field)
        //     }
        // }

        // /// **set** public [fieldName](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#fieldName)
        // ///
        // /// Required feature: java-lang-String
        // #[cfg(any(feature = "all", feature = "java-lang-String"))]
        // pub fn set_field_name<'env>(&'env self, value: java/lang/String) {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "fieldName\0", "Ljava/lang/String;\0");
        //         env.set_object_field(class, field, value)
        //     }
        // }

        // // Not emitting: Haven't yet implemented object field types
        // /// **get** public [hintLocales](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#hintLocales)
        // ///
        // /// Required feature: android-os-LocaleList
        // #[cfg(any(feature = "all", feature = "android-os-LocaleList"))]
        // pub fn hint_locales<'env>(&'env self) -> android/os/LocaleList {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "hintLocales\0", "Landroid/os/LocaleList;\0");
        //         env.get_object_field(class, field)
        //     }
        // }

        // /// **set** public [hintLocales](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#hintLocales)
        // ///
        // /// Required feature: android-os-LocaleList
        // #[cfg(any(feature = "all", feature = "android-os-LocaleList"))]
        // pub fn set_hint_locales<'env>(&'env self, value: android/os/LocaleList) {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "hintLocales\0", "Landroid/os/LocaleList;\0");
        //         env.set_object_field(class, field, value)
        //     }
        // }

        // // Not emitting: Haven't yet implemented object field types
        // /// **get** public [hintText](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#hintText)
        // ///
        // /// Required feature: java-lang-CharSequence
        // #[cfg(any(feature = "all", feature = "java-lang-CharSequence"))]
        // pub fn hint_text<'env>(&'env self) -> java/lang/CharSequence {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "hintText\0", "Ljava/lang/CharSequence;\0");
        //         env.get_object_field(class, field)
        //     }
        // }

        // /// **set** public [hintText](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#hintText)
        // ///
        // /// Required feature: java-lang-CharSequence
        // #[cfg(any(feature = "all", feature = "java-lang-CharSequence"))]
        // pub fn set_hint_text<'env>(&'env self, value: java/lang/CharSequence) {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "hintText\0", "Ljava/lang/CharSequence;\0");
        //         env.set_object_field(class, field, value)
        //     }
        // }

        /// **get** public [imeOptions](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#imeOptions)
        pub fn ime_options<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "imeOptions\0", "I\0");
                env.get_int_field(class, field)
            }
        }

        /// **set** public [imeOptions](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#imeOptions)
        pub fn set_ime_options<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "imeOptions\0", "I\0");
                env.set_int_field(class, field, value)
            }
        }

        /// **get** public [initialCapsMode](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#initialCapsMode)
        pub fn initial_caps_mode<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "initialCapsMode\0", "I\0");
                env.get_int_field(class, field)
            }
        }

        /// **set** public [initialCapsMode](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#initialCapsMode)
        pub fn set_initial_caps_mode<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "initialCapsMode\0", "I\0");
                env.set_int_field(class, field, value)
            }
        }

        /// **get** public [initialSelEnd](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#initialSelEnd)
        pub fn initial_sel_end<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "initialSelEnd\0", "I\0");
                env.get_int_field(class, field)
            }
        }

        /// **set** public [initialSelEnd](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#initialSelEnd)
        pub fn set_initial_sel_end<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "initialSelEnd\0", "I\0");
                env.set_int_field(class, field, value)
            }
        }

        /// **get** public [initialSelStart](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#initialSelStart)
        pub fn initial_sel_start<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "initialSelStart\0", "I\0");
                env.get_int_field(class, field)
            }
        }

        /// **set** public [initialSelStart](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#initialSelStart)
        pub fn set_initial_sel_start<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "initialSelStart\0", "I\0");
                env.set_int_field(class, field, value)
            }
        }

        /// **get** public [inputType](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#inputType)
        pub fn input_type<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "inputType\0", "I\0");
                env.get_int_field(class, field)
            }
        }

        /// **set** public [inputType](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#inputType)
        pub fn set_input_type<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "inputType\0", "I\0");
                env.set_int_field(class, field, value)
            }
        }

        // // Not emitting: Haven't yet implemented object field types
        // /// **get** public [label](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#label)
        // ///
        // /// Required feature: java-lang-CharSequence
        // #[cfg(any(feature = "all", feature = "java-lang-CharSequence"))]
        // pub fn label<'env>(&'env self) -> java/lang/CharSequence {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "label\0", "Ljava/lang/CharSequence;\0");
        //         env.get_object_field(class, field)
        //     }
        // }

        // /// **set** public [label](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#label)
        // ///
        // /// Required feature: java-lang-CharSequence
        // #[cfg(any(feature = "all", feature = "java-lang-CharSequence"))]
        // pub fn set_label<'env>(&'env self, value: java/lang/CharSequence) {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "label\0", "Ljava/lang/CharSequence;\0");
        //         env.set_object_field(class, field, value)
        //     }
        // }

        // // Not emitting: Haven't yet implemented object field types
        // /// **get** public [packageName](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#packageName)
        // ///
        // /// Required feature: java-lang-String
        // #[cfg(any(feature = "all", feature = "java-lang-String"))]
        // pub fn package_name<'env>(&'env self) -> java/lang/String {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "packageName\0", "Ljava/lang/String;\0");
        //         env.get_object_field(class, field)
        //     }
        // }

        // /// **set** public [packageName](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#packageName)
        // ///
        // /// Required feature: java-lang-String
        // #[cfg(any(feature = "all", feature = "java-lang-String"))]
        // pub fn set_package_name<'env>(&'env self, value: java/lang/String) {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "packageName\0", "Ljava/lang/String;\0");
        //         env.set_object_field(class, field, value)
        //     }
        // }

        // // Not emitting: Haven't yet implemented object field types
        // /// **get** public [privateImeOptions](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#privateImeOptions)
        // ///
        // /// Required feature: java-lang-String
        // #[cfg(any(feature = "all", feature = "java-lang-String"))]
        // pub fn private_ime_options<'env>(&'env self) -> java/lang/String {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "privateImeOptions\0", "Ljava/lang/String;\0");
        //         env.get_object_field(class, field)
        //     }
        // }

        // /// **set** public [privateImeOptions](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#privateImeOptions)
        // ///
        // /// Required feature: java-lang-String
        // #[cfg(any(feature = "all", feature = "java-lang-String"))]
        // pub fn set_private_ime_options<'env>(&'env self, value: java/lang/String) {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/view/inputmethod/EditorInfo\0", "privateImeOptions\0", "Ljava/lang/String;\0");
        //         env.set_object_field(class, field, value)
        //     }
        // }
    }
}