Source code

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 Javamethods and rerun the build. Manually updating this file
// will cause your build to fail.
#ifndef InetAddress_h__
#define InetAddress_h__
#include "mozilla/jni/Refs.h"
namespace mozilla {
namespace java {
namespace sdk {
class InetAddress : public mozilla::jni::ObjectBase<InetAddress>
{
public:
static constexpr char name[] =
"java/net/InetAddress";
explicit InetAddress(const Context& ctx) : ObjectBase<InetAddress>(ctx) {}
struct GetByAddress_t {
typedef InetAddress Owner;
typedef InetAddress::LocalRef ReturnType;
typedef InetAddress::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::String::Param,
mozilla::jni::ByteArray::Param> Args;
static constexpr char name[] = "getByAddress";
static constexpr char signature[] =
"(Ljava/lang/String;[B)Ljava/net/InetAddress;";
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 InetAddress getByAddress(String, byte[])
static auto GetByAddress(mozilla::jni::String::Param, mozilla::jni::ByteArray::Param) -> InetAddress::LocalRef;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
class UnknownHostException : public mozilla::jni::ObjectBase<UnknownHostException>
{
public:
static constexpr char name[] =
"java/net/UnknownHostException";
explicit UnknownHostException(const Context& ctx) : ObjectBase<UnknownHostException>(ctx) {}
struct New_t {
typedef UnknownHostException Owner;
typedef UnknownHostException::LocalRef ReturnType;
typedef UnknownHostException::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "<init>";
static constexpr char signature[] =
"()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::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// UnknownHostException()
static auto New() -> UnknownHostException::LocalRef;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
} /* sdk */
} /* java */
} /* mozilla */
#endif