jboolean rvmCallBooleanClassMethodA(Env* env, Class* clazz, Method* method, jvalue* args) { CallInfo* callInfo = INIT_CALL_INFO(env, NULL, method, FALSE, args); if (!callInfo) return FALSE; rvmInitialize(env, method->clazz); if (rvmExceptionOccurred(env)) return FALSE; return callBooleanMethod(env, callInfo); }
bool Soprano::Sesame2::RepositoryConnection::hasStatement( const JObjectRef& subject, const JObjectRef& predicate, const JObjectRef& object, const JObjectRef& context ) { JObjectRef contexts = JNIWrapper::instance()->env()->NewObjectArray( context ? 1 : 0, d->classResource(), context ); return callBooleanMethod( d->IDhasStatement(), subject.data(), predicate.data(), object.data(), true, contexts.data() ); }
jboolean rvmCallNonvirtualBooleanInstanceMethodA(Env* env, Object* obj, Method* method, jvalue* args) { CallInfo* callInfo = INIT_CALL_INFO(env, obj, method, FALSE, args); if (!callInfo) return FALSE; if (obj && CLASS_IS_PROXY(obj->clazz)) { env->reserved0 = (void*) method->name; env->reserved1 = (void*) method->desc; } return callBooleanMethod(env, callInfo); }
bool Soprano::Sesame2::RepositoryConnection::isEmpty() { return callBooleanMethod( d->IDisEmpty() ); }