JavaClass_ops.newObjectMap = js_ObjectOps.newObjectMap; JavaClass_ops.destroyObjectMap = js_ObjectOps.destroyObjectMap; JavaClass_ops.getRequiredSlot = js_ObjectOps.getRequiredSlot; JavaClass_ops.setRequiredSlot = js_ObjectOps.setRequiredSlot;
jsj_init_JavaClass(JSContext *cx, JSObject *global_obj){    JavaClass_ops.newObjectMap = js_ObjectOps.newObjectMap;    JavaClass_ops.destroyObjectMap = js_ObjectOps.destroyObjectMap;    JavaClass_ops.getRequiredSlot = js_ObjectOps.getRequiredSlot;    JavaClass_ops.setRequiredSlot = js_ObjectOps.setRequiredSlot;        /* Define JavaClass class */    if (!JS_InitClass(cx, global_obj, 0, &JavaClass_class, JavaClass_construct, 0, 0, 0, 0, 0))        return JS_FALSE;    if (!JS_DefineFunction(cx, global_obj, "getClass", getClass, 0,                           JSPROP_READONLY))        return JS_FALSE;    return jsj_InitJavaClassReflectionsTable();}