Source code
Copy as Markdown
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 Javamethods and rerun the build. Manually updating this file
// will cause your build to fail.
#include "JavaBuiltins.h"
#include "mozilla/jni/Accessors.h"
namespace mozilla {
namespace java {
namespace sdk {
constexpr char Boolean::name[];
constexpr char Boolean::BooleanValue_t::name[];
constexpr char Boolean::BooleanValue_t::signature[];
auto Boolean::BooleanValue() const -> bool
{
return mozilla::jni::Method<BooleanValue_t>::Call(Boolean::mCtx, nullptr);
}
constexpr char Boolean::FALSE_t::name[];
constexpr char Boolean::FALSE_t::signature[];
auto Boolean::FALSE() -> Boolean::LocalRef
{
return mozilla::jni::Field<FALSE_t>::Get(Boolean::Context(), nullptr);
}
constexpr char Boolean::TRUE_t::name[];
constexpr char Boolean::TRUE_t::signature[];
auto Boolean::TRUE() -> Boolean::LocalRef
{
return mozilla::jni::Field<TRUE_t>::Get(Boolean::Context(), nullptr);
}
constexpr char Double::name[];
constexpr char Double::New_t::name[];
constexpr char Double::New_t::signature[];
auto Double::New(double a0) -> Double::LocalRef
{
return mozilla::jni::Constructor<New_t>::Call(Double::Context(), nullptr, a0);
}
constexpr char Integer::name[];
constexpr char Integer::ValueOf_t::name[];
constexpr char Integer::ValueOf_t::signature[];
auto Integer::ValueOf(int32_t a0) -> Integer::LocalRef
{
return mozilla::jni::Method<ValueOf_t>::Call(Integer::Context(), nullptr, a0);
}
constexpr char Long::name[];
constexpr char Long::ValueOf_t::name[];
constexpr char Long::ValueOf_t::signature[];
auto Long::ValueOf(int64_t a0) -> Long::LocalRef
{
return mozilla::jni::Method<ValueOf_t>::Call(Long::Context(), nullptr, a0);
}
constexpr char Number::name[];
constexpr char Number::DoubleValue_t::name[];
constexpr char Number::DoubleValue_t::signature[];
auto Number::DoubleValue() const -> double
{
return mozilla::jni::Method<DoubleValue_t>::Call(Number::mCtx, nullptr);
}
constexpr char Number::IntValue_t::name[];
constexpr char Number::IntValue_t::signature[];
auto Number::IntValue() const -> int32_t
{
return mozilla::jni::Method<IntValue_t>::Call(Number::mCtx, nullptr);
}
constexpr char String::name[];
constexpr char String::ValueOf_t::name[];
constexpr char String::ValueOf_t::signature[];
auto String::ValueOf(mozilla::jni::Object::Param a0) -> String::LocalRef
{
return mozilla::jni::Method<ValueOf_t>::Call(String::Context(), nullptr, a0);
}
} /* sdk */
} /* java */
} /* mozilla */