// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "java-util-function-DoubleSupplier"))]
__jni_bindgen! {
/// public interface [DoubleSupplier](https://developer.android.com/reference/java/util/function/DoubleSupplier.html)
///
/// Required feature: "java-util-function-DoubleSupplier"
public interface DoubleSupplier ("java/util/function/DoubleSupplier") extends crate::java::lang::Object {
/// [getAsDouble](https://developer.android.com/reference/java/util/function/DoubleSupplier.html#getAsDouble())
pub fn getAsDouble<'env>(&'env self) -> __jni_bindgen::std::result::Result<f64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/function/DoubleSupplier", java.flags == PUBLIC | ABSTRACT, .name == "getAsDouble", .descriptor == "()D"
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/function/DoubleSupplier\0", "getAsDouble\0", "()D\0");
__jni_env.call_double_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
}
}