public static interface HotSpotCalls.JNIMethod
| Modifier and Type | Method and Description |
|---|---|
static HotSpotCalls.JNIMethod |
findMethod(JNI.JNIEnv env,
JNI.JClass clazz,
boolean staticMethod,
boolean required,
String methodName,
String methodSignature)
Finds a
HotSpotCalls.JNIMethod in given clazz with given name and signature. |
static HotSpotCalls.JNIMethod |
findMethod(JNI.JNIEnv env,
JNI.JClass clazz,
boolean staticMethod,
String methodName,
String methodSignature)
Finds a
HotSpotCalls.JNIMethod in the given clazz with the given name and
signature. |
String |
getDisplayName()
Returns a method display name used for logging.
|
JNI.JMethodID |
getJMethodID()
Returns a method JNI
JNI.JMethodID. |
JNI.JMethodID getJMethodID()
JNI.JMethodID.String getDisplayName()
static HotSpotCalls.JNIMethod findMethod(JNI.JNIEnv env, JNI.JClass clazz, boolean staticMethod, String methodName, String methodSignature)
HotSpotCalls.JNIMethod in the given clazz with the given name and
signature. If such a method does not exist throws JNIExceptionWrapper wrapping a
NoSuchMethodError.static HotSpotCalls.JNIMethod findMethod(JNI.JNIEnv env, JNI.JClass clazz, boolean staticMethod, boolean required, String methodName, String methodSignature)
HotSpotCalls.JNIMethod in given clazz with given name and signature. If
such a method does not exist and required is true, it throws
JNIExceptionWrapper wrapping a NoSuchMethodError. If required is
false it clears the pending JNI exception and returns a
C NULL pointer.