Other Tools

// GENERATED CODE
// Generated by the Java program at /build/annotationProcessors at compile time
// from annotations on Java methods. To update, change the annotations on the
// corresponding Java methods and rerun the build. Manually updating this file
// will cause your build to fail.
#ifndef MOZ_PREPROCESSOR
#include "mozilla/java/WebMessageWrappers.h"
#include "mozilla/jni/Accessors.h"
#endif
namespace mozilla {
namespace java {
const char WebMessage::name[] =
"org/mozilla/geckoview/WebMessage";
constexpr char WebMessage::New_t::name[];
constexpr char WebMessage::New_t::signature[];
auto WebMessage::New(mozilla::jni::Object::Param a0) -> WebMessage::LocalRef
{
return mozilla::jni::Constructor<New_t>::Call(WebMessage::Context(), nullptr, a0);
}
constexpr char WebMessage::GetHeaderKeys_t::name[];
constexpr char WebMessage::GetHeaderKeys_t::signature[];
auto WebMessage::GetHeaderKeys() const -> mozilla::jni::ObjectArray::LocalRef
{
return mozilla::jni::Method<GetHeaderKeys_t>::Call(WebMessage::mCtx, nullptr);
}
constexpr char WebMessage::GetHeaderValues_t::name[];
constexpr char WebMessage::GetHeaderValues_t::signature[];
auto WebMessage::GetHeaderValues() const -> mozilla::jni::ObjectArray::LocalRef
{
return mozilla::jni::Method<GetHeaderValues_t>::Call(WebMessage::mCtx, nullptr);
}
constexpr char WebMessage::Headers_t::name[];
constexpr char WebMessage::Headers_t::signature[];
auto WebMessage::Headers() const -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Field<Headers_t>::Get(WebMessage::mCtx, nullptr);
}
constexpr char WebMessage::Uri_t::name[];
constexpr char WebMessage::Uri_t::signature[];
auto WebMessage::Uri() const -> mozilla::jni::String::LocalRef
{
return mozilla::jni::Field<Uri_t>::Get(WebMessage::mCtx, nullptr);
}
} /* java */
} /* mozilla */