bool JByteBuffer::isDirect() const { static auto meth = javaClassStatic()->getMethod<jboolean()>("isDirect"); return meth(self()); }
void JSPackagerClientResponder::error(alias_ref<jobject> result) { static auto method = javaClassStatic()->getMethod<void(alias_ref<jobject>)>("error"); method(self(), result); }
std::string JMethodDescriptor::getType() const { static auto type = javaClassStatic()->getField<jstring>("type"); return getFieldValue(type)->toStdString(); }
std::string JMethodDescriptor::getName() const { static auto name = javaClassStatic()->getField<jstring>("name"); return getFieldValue(name)->toStdString(); }
std::string JMethodDescriptor::getSignature() const { static auto signature = javaClassStatic()->getField<jstring>("signature"); return getFieldValue(signature)->toStdString(); }
jni::local_ref<JReflectMethod::javaobject> JMethodDescriptor::getMethod() const { static auto method = javaClassStatic()->getField<JReflectMethod::javaobject>("method"); return getFieldValue(method); }