jvm :: JniEnv :: new_object
clazz
, using the constructor ̀ method_id`
# Construct a new Java object from the `clazz`, using the constructor ̀ method_id`
fun new_object(clazz: JClass, method_id: JMethodID): JavaObject `{
return (*self)->NewObject(self, clazz, method_id);
`}
lib/jvm/jvm.nit:228,2--231,3