MCPcopy Create free account
hub / github.com/cedar-policy/cedar-java / get_basename

Method get_basename

CedarJavaFFI/src/objects.rs:99–102  ·  view source on GitHub ↗

Get the basename field

(&self, env: &mut JNIEnv<'a>)

Source from the content-addressed store, hash-verified

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> {

Callers

nothing calls this directly

Calls 1

get_object_refFunction · 0.85

Tested by

no test coverage detected