()
| 803 | } |
| 804 | |
| 805 | pub(crate) fn get_utils_class() -> errors::Result<jclass> { |
| 806 | get_cached!( |
| 807 | UTILS_CLASS, |
| 808 | { |
| 809 | let env = get_thread_local_env()?; |
| 810 | let c = tweaks::find_class(env, UTILS_CLASS_NAME)?; |
| 811 | if CLASS_CACHING_ENABLED { |
| 812 | jni_utils::create_global_ref_from_local_ref(c, env)? |
| 813 | } else { |
| 814 | c |
| 815 | } |
| 816 | }, |
| 817 | set_utils_class |
| 818 | ) |
| 819 | } |
| 820 | |
| 821 | pub(crate) fn set_utils_exception_to_string_method(j: jmethodID) { |
| 822 | debug("Called set_utils_exception_to_string_method"); |
no outgoing calls
no test coverage detected