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 Java methods and rerun the build. Manually updating this file
// will cause your build to fail.
#ifndef mozilla_java_GeckoBundleWrappers_h
#define mozilla_java_GeckoBundleWrappers_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/jni/Refs.h"
#endif
namespace mozilla {
namespace java {
class GeckoBundle : public mozilla::jni::ObjectBase<GeckoBundle>
{
public:
static constexpr char name[] =
"org/mozilla/gecko/util/GeckoBundle";
explicit GeckoBundle(const Context& ctx) : ObjectBase<GeckoBundle>(ctx) {}
struct New_t {
typedef GeckoBundle Owner;
typedef GeckoBundle::LocalRef ReturnType;
typedef GeckoBundle::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::ObjectArray::Param,
mozilla::jni::ObjectArray::Param> Args;
static constexpr char name[] = "<init>";
static constexpr char signature[] =
"([Ljava/lang/String;[Ljava/lang/Object;)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::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// GeckoBundle(String[], Object[])
static auto New(mozilla::jni::ObjectArray::Param, mozilla::jni::ObjectArray::Param) -> GeckoBundle::LocalRef;
struct Keys_t {
typedef GeckoBundle Owner;
typedef mozilla::jni::ObjectArray::LocalRef ReturnType;
typedef mozilla::jni::ObjectArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "keys";
static constexpr char signature[] =
"()[Ljava/lang/String;";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// String[] keys()
auto Keys() const -> mozilla::jni::ObjectArray::LocalRef;
struct Values_t {
typedef GeckoBundle Owner;
typedef mozilla::jni::ObjectArray::LocalRef ReturnType;
typedef mozilla::jni::ObjectArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "values";
static constexpr char signature[] =
"()[Ljava/lang/Object;";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// Object[] values()
auto Values() const -> mozilla::jni::ObjectArray::LocalRef;
struct EMPTY_BOOLEAN_ARRAY_t {
typedef GeckoBundle Owner;
typedef mozilla::jni::BooleanArray::LocalRef ReturnType;
typedef mozilla::jni::BooleanArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "EMPTY_BOOLEAN_ARRAY";
static constexpr char signature[] =
"[Z";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
static auto EMPTY_BOOLEAN_ARRAY() -> mozilla::jni::BooleanArray::LocalRef;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
};
} /* java */
} /* mozilla */
#endif // mozilla_java_GeckoBundleWrappers_h