15#include "TypedMethods.h"
26 Return callStaticMethod(jclass clazz, jmethodID methodId,
const Args&...
args) {
28 if constexpr (std::is_void_v<Return>) {
31 return fromJni<Return>((e->*
TypedMethods<java_t_from_cpp_t<Return>>::CallStaticMethod)(clazz, methodId, toJni(
args)...));
42 Return callMethod(jobject thiz, jmethodID methodId,
const Args&...
args) {
44 if constexpr (std::is_void_v<Return>) {
47 return fromJni<Return>((e->*
TypedMethods<java_t_from_cpp_t<Return>>::CallMethod)(thiz, methodId, toJni(
args)...));
Definition Converter.h:33
API_AUI_CORE const ACommandLineArgs & args() noexcept
JNIEnv * env()
Definition Globals.h:38
Definition TypedMethods.h:18