Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Do not require doxygen in maintainer mode
[simgrid.git] / src / java / jxbt_utilities.h
index 97e5eb4..570645b 100644 (file)
@@ -27,6 +27,10 @@ jclass jxbt_get_class(JNIEnv* env, const char*name);
    (it's ok to to pass a NULL class: it's a noop) */
 jmethodID jxbt_get_jmethod(JNIEnv* env, jclass class, 
                           const char *name,const char *signature);
+                          
+/* Like the jxbt_get_class() but get a static method */
+jmethodID jxbt_get_static_jmethod(JNIEnv* env, jclass cls, 
+                          const char *name,const char *signature);
 
 /* Search a field in a class and throw an exception if not found
    (it's ok to to pass a NULL class: it's a noop) */
@@ -39,6 +43,10 @@ jfieldID jxbt_get_jfield(JNIEnv* env, jclass class,
 jmethodID jxbt_get_smethod(JNIEnv* env, const char *classname, 
                          const char *name,const char *signature);
 
+/* Like the jxbt_get_smethod() but get a static method */
+jmethodID jxbt_get_static_smethod(JNIEnv* env, const char *classname, 
+                         const char *name,const char *signature);
+
 /* Search a field in a class and throw an exception if not found
    (it's ok to to pass a NULL class: it's a noop) */
 jfieldID jxbt_get_sfield(JNIEnv* env, const char *classname,