| 378 | if (javaFunction != nullptr) { |
| 379 | // unwrap the underlying Java object |
| 380 | return javaFunction->toObject(); |
| 381 | } |
| 382 | |
| 383 | auto* functionCopy = new Valdi::Value(value); |
| 384 | |
| 385 | auto actionObject = JavaEnv::getCache().getValdiFunctionNativeClass().newObject( |
| 386 | JavaEnv::getCache().getValdiFunctionNativeConstructorMethod(), reinterpret_cast<int64_t>(functionCopy)); |
no test coverage detected