MCPcopy Index your code
hub / github.com/cedar-policy/cedar-java / policyEffectJni

Function policyEffectJni

CedarJavaFFI/src/interface.rs:850–855  ·  view source on GitHub ↗
(mut env: JNIEnv<'a>, _: JClass, policy_jstr: JString<'a>)

Source from the content-addressed store, hash-verified

848
849#[jni_fn("com.cedarpolicy.model.policy.Policy")]
850pub fn policyEffectJni<'a>(mut env: JNIEnv<'a>, _: JClass, policy_jstr: JString<'a>) -> jvalue {
851 match policy_effect_jni_internal(&mut env, policy_jstr) {
852 Err(e) => jni_failed(&mut env, e.as_ref()),
853 Ok(effect) => effect.as_jni(),
854 }
855}
856
857fn policy_effect_jni_internal<'a>(
858 env: &mut JNIEnv<'a>,

Callers

nothing calls this directly

Calls 4

jni_failedFunction · 0.85
as_jniMethod · 0.80
as_refMethod · 0.45

Tested by

no test coverage detected