Function wedpr_ffi_common::utils::java_new_jobject[][src]

pub fn java_new_jobject<'a>(
    _env: &'a JNIEnv<'_>,
    java_class_name: &'a str
) -> JObject<'a>

Creates a new Java object of a given class specified by java_class_name. Please note that objects::JObject is the wrapper object type used by FFI logic. You will need to later call .into_inner() function to extract the actual object type (sys::jobject), and return it to Java runtime.