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 MOZ_PREPROCESSOR
#include "mozilla/java/XPCOMEventTargetWrappers.h"
#include "mozilla/jni/Accessors.h"
#endif
namespace mozilla {
namespace java {
constexpr char XPCOMEventTarget::name[];
constexpr char XPCOMEventTarget::New_t::name[];
constexpr char XPCOMEventTarget::New_t::signature[];
auto XPCOMEventTarget::New() -> XPCOMEventTarget::LocalRef
{
return mozilla::jni::Constructor<New_t>::Call(XPCOMEventTarget::Context(), nullptr);
}
constexpr char XPCOMEventTarget::AssertNotOnLauncherThread_t::name[];
constexpr char XPCOMEventTarget::AssertNotOnLauncherThread_t::signature[];
auto XPCOMEventTarget::AssertNotOnLauncherThread() -> void
{
return mozilla::jni::Method<AssertNotOnLauncherThread_t>::Call(XPCOMEventTarget::Context(), nullptr);
}
constexpr char XPCOMEventTarget::AssertOnLauncherThread_t::name[];
constexpr char XPCOMEventTarget::AssertOnLauncherThread_t::signature[];
auto XPCOMEventTarget::AssertOnLauncherThread() -> void
{
return mozilla::jni::Method<AssertOnLauncherThread_t>::Call(XPCOMEventTarget::Context(), nullptr);
}
constexpr char XPCOMEventTarget::DispatchNative_t::name[];
constexpr char XPCOMEventTarget::DispatchNative_t::signature[];
constexpr char XPCOMEventTarget::DisposeNative_t::name[];
constexpr char XPCOMEventTarget::DisposeNative_t::signature[];
constexpr char XPCOMEventTarget::Execute_t::name[];
constexpr char XPCOMEventTarget::Execute_t::signature[];
auto XPCOMEventTarget::Execute(mozilla::jni::Object::Param a0) const -> void
{
return mozilla::jni::Method<Execute_t>::Call(XPCOMEventTarget::mCtx, nullptr, a0);
}
constexpr char XPCOMEventTarget::GetTarget_t::name[];
constexpr char XPCOMEventTarget::GetTarget_t::signature[];
auto XPCOMEventTarget::GetTarget(mozilla::jni::String::Param a0) -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Method<GetTarget_t>::Call(XPCOMEventTarget::Context(), nullptr, a0);
}
constexpr char XPCOMEventTarget::IsOnCurrentThread_t::name[];
constexpr char XPCOMEventTarget::IsOnCurrentThread_t::signature[];
constexpr char XPCOMEventTarget::LauncherThread_t::name[];
constexpr char XPCOMEventTarget::LauncherThread_t::signature[];
auto XPCOMEventTarget::LauncherThread() -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Method<LauncherThread_t>::Call(XPCOMEventTarget::Context(), nullptr);
}
constexpr char XPCOMEventTarget::MainThread_t::name[];
constexpr char XPCOMEventTarget::MainThread_t::signature[];
auto XPCOMEventTarget::MainThread() -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Method<MainThread_t>::Call(XPCOMEventTarget::Context(), nullptr);
}
constexpr char XPCOMEventTarget::ResolveAndDispatch_t::name[];
constexpr char XPCOMEventTarget::ResolveAndDispatch_t::signature[];
auto XPCOMEventTarget::ResolveAndDispatch(mozilla::jni::String::Param a0, mozilla::jni::Object::Param a1) -> void
{
return mozilla::jni::Method<ResolveAndDispatch_t>::Call(XPCOMEventTarget::Context(), nullptr, a0, a1);
}
constexpr char XPCOMEventTarget::ResolveAndDispatchNative_t::name[];
constexpr char XPCOMEventTarget::ResolveAndDispatchNative_t::signature[];
constexpr char XPCOMEventTarget::RunOnLauncherThread_t::name[];
constexpr char XPCOMEventTarget::RunOnLauncherThread_t::signature[];
auto XPCOMEventTarget::RunOnLauncherThread(mozilla::jni::Object::Param a0) -> void
{
return mozilla::jni::Method<RunOnLauncherThread_t>::Call(XPCOMEventTarget::Context(), nullptr, a0);
}
constexpr char XPCOMEventTarget::SetTarget_t::name[];
constexpr char XPCOMEventTarget::SetTarget_t::signature[];
auto XPCOMEventTarget::SetTarget(mozilla::jni::String::Param a0, XPCOMEventTarget::Param a1) -> void
{
return mozilla::jni::Method<SetTarget_t>::Call(XPCOMEventTarget::Context(), nullptr, a0, a1);
}
constexpr char XPCOMEventTarget::MLauncherThread_t::name[];
constexpr char XPCOMEventTarget::MLauncherThread_t::signature[];
auto XPCOMEventTarget::MLauncherThread() -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Field<MLauncherThread_t>::Get(XPCOMEventTarget::Context(), nullptr);
}
auto XPCOMEventTarget::MLauncherThread(mozilla::jni::Object::Param a0) -> void
{
return mozilla::jni::Field<MLauncherThread_t>::Set(XPCOMEventTarget::Context(), nullptr, a0);
}
constexpr char XPCOMEventTarget::MMainThread_t::name[];
constexpr char XPCOMEventTarget::MMainThread_t::signature[];
auto XPCOMEventTarget::MMainThread() -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Field<MMainThread_t>::Get(XPCOMEventTarget::Context(), nullptr);
}
auto XPCOMEventTarget::MMainThread(mozilla::jni::Object::Param a0) -> void
{
return mozilla::jni::Field<MMainThread_t>::Set(XPCOMEventTarget::Context(), nullptr, a0);
}
constexpr char XPCOMEventTarget::JNIRunnable::name[];
constexpr char XPCOMEventTarget::JNIRunnable::New_t::name[];
constexpr char XPCOMEventTarget::JNIRunnable::New_t::signature[];
auto XPCOMEventTarget::JNIRunnable::New(mozilla::jni::Object::Param a0) -> JNIRunnable::LocalRef
{
return mozilla::jni::Constructor<New_t>::Call(JNIRunnable::Context(), nullptr, a0);
}
constexpr char XPCOMEventTarget::JNIRunnable::Run_t::name[];
constexpr char XPCOMEventTarget::JNIRunnable::Run_t::signature[];
auto XPCOMEventTarget::JNIRunnable::Run() const -> void
{
return mozilla::jni::Method<Run_t>::Call(JNIRunnable::mCtx, nullptr);
}
constexpr char XPCOMEventTarget::JNIRunnable::MInner_t::name[];
constexpr char XPCOMEventTarget::JNIRunnable::MInner_t::signature[];
auto XPCOMEventTarget::JNIRunnable::MInner() const -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Field<MInner_t>::Get(JNIRunnable::mCtx, nullptr);
}
auto XPCOMEventTarget::JNIRunnable::MInner(mozilla::jni::Object::Param a0) const -> void
{
return mozilla::jni::Field<MInner_t>::Set(JNIRunnable::mCtx, nullptr, a0);
}
} /* java */
} /* mozilla */