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/SampleWrappers.h"
#include "mozilla/jni/Accessors.h"
#endif
namespace mozilla {
namespace java {
constexpr char Sample::name[];
constexpr char Sample::Dispose_t::name[];
constexpr char Sample::Dispose_t::signature[];
auto Sample::Dispose() const -> void
{
return mozilla::jni::Method<Dispose_t>::Call(Sample::mCtx, nullptr);
}
constexpr char Sample::Info_t::name[];
constexpr char Sample::Info_t::signature[];
auto Sample::Info() const -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Field<Info_t>::Get(Sample::mCtx, nullptr);
}
auto Sample::Info(mozilla::jni::Object::Param a0) const -> void
{
return mozilla::jni::Field<Info_t>::Set(Sample::mCtx, nullptr, a0);
}
constexpr char Sample::Session_t::name[];
constexpr char Sample::Session_t::signature[];
auto Sample::Session() const -> int64_t
{
return mozilla::jni::Field<Session_t>::Get(Sample::mCtx, nullptr);
}
auto Sample::Session(int64_t a0) const -> void
{
return mozilla::jni::Field<Session_t>::Set(Sample::mCtx, nullptr, a0);
}
} /* java */
} /* mozilla */