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_ServiceAllocatorWrappers_h
#define mozilla_java_ServiceAllocatorWrappers_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/jni/Refs.h"
#endif
namespace mozilla {
namespace java {
class ServiceAllocator : public mozilla::jni::ObjectBase<ServiceAllocator>
{
public:
static constexpr char name[] =
"org/mozilla/gecko/process/ServiceAllocator";
explicit ServiceAllocator(const Context& ctx) : ObjectBase<ServiceAllocator>(ctx) {}
class PriorityLevel;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
class ServiceAllocator::PriorityLevel : public mozilla::jni::ObjectBase<PriorityLevel>
{
public:
static constexpr char name[] =
"org/mozilla/gecko/process/ServiceAllocator$PriorityLevel";
explicit PriorityLevel(const Context& ctx) : ObjectBase<PriorityLevel>(ctx) {}
struct BACKGROUND_t {
typedef PriorityLevel Owner;
typedef PriorityLevel::LocalRef ReturnType;
typedef PriorityLevel::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "BACKGROUND";
static constexpr char signature[] =
"Lorg/mozilla/gecko/process/ServiceAllocator$PriorityLevel;";
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 BACKGROUND() -> PriorityLevel::LocalRef;
struct FOREGROUND_t {
typedef PriorityLevel Owner;
typedef PriorityLevel::LocalRef ReturnType;
typedef PriorityLevel::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "FOREGROUND";
static constexpr char signature[] =
"Lorg/mozilla/gecko/process/ServiceAllocator$PriorityLevel;";
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 FOREGROUND() -> PriorityLevel::LocalRef;
struct IDLE_t {
typedef PriorityLevel Owner;
typedef PriorityLevel::LocalRef ReturnType;
typedef PriorityLevel::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "IDLE";
static constexpr char signature[] =
"Lorg/mozilla/gecko/process/ServiceAllocator$PriorityLevel;";
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 IDLE() -> PriorityLevel::LocalRef;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
} /* java */
} /* mozilla */
#endif // mozilla_java_ServiceAllocatorWrappers_h