(env: &mut JNIEnv<'a>, obj: JObject<'a>)
| 37 | |
| 38 | impl<'a> Object<'a> for JString<'a> { |
| 39 | fn cast(env: &mut JNIEnv<'a>, obj: JObject<'a>) -> Result<Self> { |
| 40 | assert_is_class(env, &obj, "java/lang/String")?; |
| 41 | Ok(obj.into()) |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | /// Typed wrapper around EntityTypeNames |
nothing calls this directly
no test coverage detected