Lines Matching defs:class
38 * Creates an instance of a class using the specified constructor and
43 makeobject(JNIEnv *env, jclass class, jmethodID ctor, ...)
50 result = (*env)->NewObjectV(env, class, ctor, alist);
59 * Find the class specified by 'def', and optionally looks up the
60 * specified constructor. Stores a reference to the class and the
62 * If 'global' is true, a global reference to the class is obtained.
71 (void) fprintf(stderr, "Couldn't find class \"%s\"\n",
73 (*env)->FatalError(env, "Couldn't find required class");
95 "Couldn't find required class constructor");
105 throw(JNIEnv *env, jclass class, jmethodID ctor, ...)
113 if ((xcp = (*env)->NewObjectV(env, class, ctor, alist)) == NULL ||
129 jclass class;
133 &class, &ctor, classname, NULL
150 throw(env, class, ctor, jdesc);
157 throw(env, class, ctor);
235 fetch_ptr_id(JNIEnv *env, jclass class, const char *name)
239 fid = (*env)->GetFieldID(env, class, name, "J");