Get the basename field
(&self, env: &mut JNIEnv<'a>)
| 97 | |
| 98 | /// Get the basename field |
| 99 | pub fn get_basename(&self, env: &mut JNIEnv<'a>) -> Result<JString<'a>> { |
| 100 | let v = env.call_method(&self.obj, "getBaseName", "()Ljava/lang/String;", &[])?; |
| 101 | JString::cast(env, get_object_ref(v)?) |
| 102 | } |
| 103 | |
| 104 | /// Given a rust EntityTypeName, allocate a new Java EntityTypeName object |
| 105 | pub fn try_from(env: &mut JNIEnv<'a>, etype: &EntityTypeName) -> Result<Self> { |
nothing calls this directly
no test coverage detected