#[cfg(any(feature = "all", feature = "android-graphics-Paint_Cap"))]
__jni_bindgen! {
public enum Paint_Cap ("android/graphics/Paint$Cap") extends crate::java::lang::Enum {
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint_Cap")))]
pub fn values<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, __jni_bindgen::ObjectArray<crate::android::graphics::Paint_Cap, crate::java::lang::Throwable>>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/graphics/Paint$Cap\0", "values\0", "()[Landroid/graphics/Paint$Cap;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint_Cap", feature = "java-lang-String")))]
pub fn valueOf<'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::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::graphics::Paint_Cap>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/graphics/Paint$Cap\0", "valueOf\0", "(Ljava/lang/String;)Landroid/graphics/Paint$Cap;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", feature = "android-graphics-Paint_Cap"))]
pub fn BUTT<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::graphics::Paint_Cap>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/graphics/Paint$Cap\0", "BUTT\0", "Landroid/graphics/Paint$Cap;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
#[cfg(any(feature = "all", feature = "android-graphics-Paint_Cap"))]
pub fn ROUND<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::graphics::Paint_Cap>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/graphics/Paint$Cap\0", "ROUND\0", "Landroid/graphics/Paint$Cap;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
#[cfg(any(feature = "all", feature = "android-graphics-Paint_Cap"))]
pub fn SQUARE<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::graphics::Paint_Cap>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/graphics/Paint$Cap\0", "SQUARE\0", "Landroid/graphics/Paint$Cap;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
}
}