MCPcopy Create free account
hub / github.com/cretz/stackparam / get_method_modifiers

Function get_method_modifiers

src/native.rs:703–707  ·  view source on GitHub ↗
(method: jmethodID)

Source from the content-addressed store, hash-verified

701}
702
703unsafe fn get_method_modifiers(method: jmethodID) -> Result<jint, String> {
704 let mut mods: jint = 0;
705 let mod_res = (**JVMTI_ENV).GetMethodModifiers.unwrap()(JVMTI_ENV, method, &mut mods);
706 return util::result_or_jvmti_err(mods, mod_res);
707}
708
709unsafe fn apply_local_var_table(method: jmethodID, info: &mut MethodInfo) -> Result<(), String> {
710 let mut entries: *mut jvmtiLocalVariableEntry = ptr::null_mut();

Callers 1

get_method_param_infoFunction · 0.85

Calls 1

result_or_jvmti_errFunction · 0.85

Tested by

no test coverage detected