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_ContentInputStreamWrappers_h
#define mozilla_java_ContentInputStreamWrappers_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/jni/Refs.h"
#endif
namespace mozilla {
namespace java {
class ContentInputStream : public mozilla::jni::ObjectBase<ContentInputStream>
{
public:
static constexpr char name[] =
"org/mozilla/geckoview/ContentInputStream";
explicit ContentInputStream(const Context& ctx) : ObjectBase<ContentInputStream>(ctx) {}
struct GetInstance_t {
typedef ContentInputStream Owner;
typedef mozilla::jni::Object::LocalRef ReturnType;
typedef mozilla::jni::Object::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::String::Param> Args;
static constexpr char name[] = "getInstance";
static constexpr char signature[] =
"(Ljava/lang/String;)Lorg/mozilla/geckoview/GeckoViewInputStream;";
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 GeckoViewInputStream getInstance(String)
static auto GetInstance(mozilla::jni::String::Param) -> mozilla::jni::Object::LocalRef;
struct IsReadable_t {
typedef ContentInputStream Owner;
typedef bool ReturnType;
typedef bool SetterType;
typedef mozilla::jni::Args<
mozilla::jni::String::Param> Args;
static constexpr char name[] = "isReadable";
static constexpr char signature[] =
"(Ljava/lang/String;)Z";
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 boolean isReadable(String)
static auto IsReadable(mozilla::jni::String::Param) -> bool;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
} /* java */
} /* mozilla */
#endif // mozilla_java_ContentInputStreamWrappers_h