()
| 780 | } |
| 781 | |
| 782 | pub(crate) fn get_factory_class() -> errors::Result<jclass> { |
| 783 | get_cached!( |
| 784 | FACTORY_CLASS, |
| 785 | { |
| 786 | let env = get_thread_local_env()?; |
| 787 | let c = tweaks::find_class(env, INST_CLASS_NAME)?; |
| 788 | if CLASS_CACHING_ENABLED { |
| 789 | jni_utils::create_global_ref_from_local_ref(c, env)? |
| 790 | } else { |
| 791 | c |
| 792 | } |
| 793 | }, |
| 794 | set_factory_class |
| 795 | ) |
| 796 | } |
| 797 | |
| 798 | pub(crate) fn set_utils_class(j: jclass) { |
| 799 | debug("Called set_utils_class"); |
no outgoing calls
no test coverage detected