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_Base64UtilsWrappers_h
#define mozilla_java_Base64UtilsWrappers_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/jni/Refs.h"
#endif
namespace mozilla {
namespace java {
class Base64Utils : public mozilla::jni::ObjectBase<Base64Utils>
{
public:
static constexpr char name[] =
"org/mozilla/geckoview/Base64Utils";
explicit Base64Utils(const Context& ctx) : ObjectBase<Base64Utils>(ctx) {}
// Suggested header signature for native method:
// static mozilla::jni::ByteArray::LocalRef Decode(mozilla::jni::String::Param);
struct Decode_t {
typedef Base64Utils Owner;
typedef mozilla::jni::ByteArray::LocalRef ReturnType;
typedef mozilla::jni::ByteArray::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::String::Param> Args;
static constexpr char name[] = "decode";
static constexpr char signature[] =
"(Ljava/lang/String;)[B";
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;
};
// Suggested header signature for native method:
// static mozilla::jni::String::LocalRef Encode(mozilla::jni::ByteArray::Param);
struct Encode_t {
typedef Base64Utils Owner;
typedef mozilla::jni::String::LocalRef ReturnType;
typedef mozilla::jni::String::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::ByteArray::Param> Args;
static constexpr char name[] = "encode";
static constexpr char signature[] =
"([B)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 const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
template<class Impl> class Natives;
};
} /* java */
} /* mozilla */
#endif // mozilla_java_Base64UtilsWrappers_h