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

Method get_namespace

CedarJavaFFI/src/objects.rs:93–96  ·  view source on GitHub ↗

Get the namespace field

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

Source from the content-addressed store, hash-verified

91
92 /// Get the namespace field
93 pub fn get_namespace(&self, env: &mut JNIEnv<'a>) -> Result<List<'a, JString<'a>>> {
94 let v = env.call_method(&self.obj, "getNamespace", "()Ljava/util/List;", &[])?;
95 List::cast_unchecked(get_object_ref(v)?, env)
96 }
97
98 /// Get the basename field
99 pub fn get_basename(&self, env: &mut JNIEnv<'a>) -> Result<JString<'a>> {

Callers

nothing calls this directly

Calls 1

get_object_refFunction · 0.85

Tested by

no test coverage detected