| 919 | } |
| 920 | |
| 921 | jobject Runtime::ConvertJsValueToJavaObject(JEnv& env, |
| 922 | const Local<Value>& value, |
| 923 | int classReturnType) { |
| 924 | auto context = this->GetContext(); |
| 925 | JsArgToArrayConverter argConverter( |
| 926 | context, value, false /*is implementation object*/, classReturnType); |
| 927 | jobject jr = argConverter.GetConvertedArg(); |
| 928 | jobject javaResult = nullptr; |
| 929 | if (jr != nullptr) { |
| 930 | javaResult = env.NewLocalRef(jr); |
| 931 | } |
| 932 | |
| 933 | return javaResult; |
| 934 | } |
| 935 | |
| 936 | void Runtime::SetManualInstrumentationMode(jstring mode) { |
| 937 | auto modeStr = ArgConverter::jstringToString(mode); |
nothing calls this directly
no test coverage detected