GetStaticMethodID
jmethodID GetStaticMethodID(JNIEnv *env, jclass clazz, const char *name, const char *sig);
Returns the method ID for a static method of a class. The method is specified by its name and signature.
GetStaticMethodID() causes an uninitialized class to be initialized.
LINKAGE:
Index 113 in the JNIEnv interface function table.
PARAMETERS:
env: the JNI interface pointer, must not be NULL.
clazz: a Java class object, must not be NULL.
name: the static method name in a 0-terminated modified UTF-8 string, must not be NULL.
sig: the method signature in a 0-terminated modified UTF-8 string, must not be NULL.
RETURNS:
Returns a method ID, or NULL if the operation fails.
THROWS:
NoSuchMethodError: if the specified static method cannot be found.
ExceptionInInitializerError: if the class initializer fails due to an exception.
OutOfMemoryError: if the system runs out of memory.