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.
#ifndef JavaBuiltins_h__
#define JavaBuiltins_h__
#include "mozilla/jni/Refs.h"
namespace mozilla {
namespace java {
namespace sdk {
class Boolean : public mozilla::jni::ObjectBase<Boolean>
{
public:
static constexpr char name[] =
"java/lang/Boolean";
explicit Boolean(const Context& ctx) : ObjectBase<Boolean>(ctx) {}
struct BooleanValue_t {
typedef Boolean Owner;
typedef bool ReturnType;
typedef bool SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "booleanValue";
static constexpr char signature[] =
"()Z";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// boolean booleanValue()
auto BooleanValue() const -> bool;
struct FALSE_t {
typedef Boolean Owner;
typedef Boolean::LocalRef ReturnType;
typedef Boolean::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "FALSE";
static constexpr char signature[] =
"Ljava/lang/Boolean;";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
static auto FALSE() -> Boolean::LocalRef;
struct TRUE_t {
typedef Boolean Owner;
typedef Boolean::LocalRef ReturnType;
typedef Boolean::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "TRUE";
static constexpr char signature[] =
"Ljava/lang/Boolean;";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
static auto TRUE() -> Boolean::LocalRef;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
class Double : public mozilla::jni::ObjectBase<Double>
{
public:
static constexpr char name[] =
"java/lang/Double";
explicit Double(const Context& ctx) : ObjectBase<Double>(ctx) {}
struct New_t {
typedef Double Owner;
typedef Double::LocalRef ReturnType;
typedef Double::Param SetterType;
typedef mozilla::jni::Args<
double> Args;
static constexpr char name[] = "<init>";
static constexpr char signature[] =
"(D)V";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// Double(double)
static auto New(double) -> Double::LocalRef;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
class Integer : public mozilla::jni::ObjectBase<Integer>
{
public:
static constexpr char name[] =
"java/lang/Integer";
explicit Integer(const Context& ctx) : ObjectBase<Integer>(ctx) {}
struct ValueOf_t {
typedef Integer Owner;
typedef Integer::LocalRef ReturnType;
typedef Integer::Param SetterType;
typedef mozilla::jni::Args<
int32_t> Args;
static constexpr char name[] = "valueOf";
static constexpr char signature[] =
"(I)Ljava/lang/Integer;";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static Integer valueOf(int)
static auto ValueOf(int32_t) -> Integer::LocalRef;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
class Long : public mozilla::jni::ObjectBase<Long>
{
public:
static constexpr char name[] =
"java/lang/Long";
explicit Long(const Context& ctx) : ObjectBase<Long>(ctx) {}
struct ValueOf_t {
typedef Long Owner;
typedef Long::LocalRef ReturnType;
typedef Long::Param SetterType;
typedef mozilla::jni::Args<
int64_t> Args;
static constexpr char name[] = "valueOf";
static constexpr char signature[] =
"(J)Ljava/lang/Long;";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static Long valueOf(long)
static auto ValueOf(int64_t) -> Long::LocalRef;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
class Number : public mozilla::jni::ObjectBase<Number>
{
public:
static constexpr char name[] =
"java/lang/Number";
explicit Number(const Context& ctx) : ObjectBase<Number>(ctx) {}
struct DoubleValue_t {
typedef Number Owner;
typedef double ReturnType;
typedef double SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "doubleValue";
static constexpr char signature[] =
"()D";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// double doubleValue()
auto DoubleValue() const -> double;
struct IntValue_t {
typedef Number Owner;
typedef int32_t ReturnType;
typedef int32_t SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "intValue";
static constexpr char signature[] =
"()I";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// int intValue()
auto IntValue() const -> int32_t;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
class String : public mozilla::jni::ObjectBase<String>
{
public:
static constexpr char name[] =
"java/lang/String";
explicit String(const Context& ctx) : ObjectBase<String>(ctx) {}
struct ValueOf_t {
typedef String Owner;
typedef String::LocalRef ReturnType;
typedef String::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param> Args;
static constexpr char name[] = "valueOf";
static constexpr char signature[] =
"(Ljava/lang/Object;)Ljava/lang/String;";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static String valueOf(Object)
static auto ValueOf(mozilla::jni::Object::Param) -> String::LocalRef;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
} /* sdk */
} /* java */
} /* mozilla */
#endif