pub fn from_java_static<'j, T: FromJava<'j>>( env: &mut JNIEnv<'j>, val: T::From, ) -> Result<T, Error>
Used in the generated code to have proper type bindings. You probably didn’t want to call this directly.