MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / callVoidMethod

Method callVoidMethod

extensions/jni/jvm/JavaClass.h:118–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116
117 template<typename ... Args>
118 void callVoidMethod(JNIEnv* env, jobject obj, const std::string &methodName, const std::string &type, Args ... args) {
119 jmethodID method = getClassMethod(env, methodName, type);
120 ThrowIf(env);
121 env->CallVoidMethod(obj, method, std::forward<Args>(args)...);
122 ThrowIf(env);
123 }
124
125 private:
126 jmethodID cnstrctr;

Callers 5

notifyStopMethod · 0.80
notifyStopMethod · 0.80
onEnableMethod · 0.80
onScheduleMethod · 0.80
onTriggerMethod · 0.80

Calls 1

ThrowIfFunction · 0.85

Tested by

no test coverage detected