| 140 | } |
| 141 | |
| 142 | Status JniUtil::GetStaticMethodID(JNIEnv* env, jclass class_ref, const char* method_str, |
| 143 | const char* method_signature, jmethodID* method_ref) { |
| 144 | *method_ref = env->GetStaticMethodID(class_ref, method_str, method_signature); |
| 145 | RETURN_ERROR_IF_EXC(env); |
| 146 | return Status::OK(); |
| 147 | } |
| 148 | |
| 149 | Status JniUtil::GetGlobalClassRef(JNIEnv* env, const char* class_str, jclass* class_ref) { |
| 150 | *class_ref = NULL; |
no test coverage detected