MCPcopy Create free account
hub / github.com/astonbitecode/j4rs / get_invocation_arg_class

Function get_invocation_arg_class

rust/src/cache.rs:860–874  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

858}
859
860pub(crate) fn get_invocation_arg_class() -> errors::Result<jclass> {
861 get_cached!(
862 INVOCATION_ARG_CLASS,
863 {
864 let env = get_thread_local_env()?;
865 let c = tweaks::find_class(env, "org/astonbitecode/j4rs/api/dtos/InvocationArg")?;
866 if CLASS_CACHING_ENABLED {
867 jni_utils::create_global_ref_from_local_ref(c, env)?
868 } else {
869 c
870 }
871 },
872 set_invocation_arg_class
873 )
874}
875
876#[allow(dead_code)]
877pub(crate) fn set_factory_constructor_method(j: jmethodID) {

Callers 11

handle_channel_senderMethod · 0.85
create_instanceMethod · 0.85
create_java_arrayMethod · 0.85
do_create_java_listMethod · 0.85
do_create_java_mapMethod · 0.85
invokeMethod · 0.85
invoke_to_channelMethod · 0.85
invoke_staticMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected