| 206 | } |
| 207 | |
| 208 | AnyJavaMethod AnyJavaMethod::fromReflectedMethod(jobject reflectedMethod, |
| 209 | bool isStatic, |
| 210 | std::optional<JavaValueType> returnType) { |
| 211 | auto invoker = getInvokerForMethodType(isStatic, returnType); |
| 212 | |
| 213 | auto* methodId = JavaEnv::accessEnvRet([&](JNIEnv& env) { return env.FromReflectedMethod(reflectedMethod); }); |
| 214 | |
| 215 | return AnyJavaMethod(JavaEnv(), methodId, invoker); |
| 216 | } |
| 217 | |
| 218 | } // namespace ValdiAndroid |
nothing calls this directly
no test coverage detected