// This file was generated by
// //third_party/jni_zero/jni_zero.py
// For
// J.N
#ifndef TEMP_DIR_HEADER_
#define TEMP_DIR_HEADER_
#include <iterator>
#include "third_party/jni_zero/jni_zero_internal.h"
extern const int64_t kJniZeroHashWhole = 2249885413155022725LL;
extern const int64_t kJniZeroHashPriority = 2249885413155022725LL;
// Class Accessors.
#ifndef org_jni_1zero_SampleProxyEdgeCases_clazz_defined
#define org_jni_1zero_SampleProxyEdgeCases_clazz_defined
inline jclass org_jni_1zero_SampleProxyEdgeCases_clazz(JNIEnv* env) {
static const char kClassName[] = "org/jni_zero/SampleProxyEdgeCases";
static std::atomic<jclass> cached_class;
return jni_zero::internal::LazyGetClass(env, kClassName, &cached_class);
}
#endif
// Forward declarations (methods).
JNI_POSSIBLE_BOUNDARY_EXPORT jint Java_org_1jni_11zero_1SampleProxyEdgeCases_1addStructB(
JNIEnv* env,
jclass jcaller,
jobject caller,
jobject b);
JNI_POSSIBLE_BOUNDARY_EXPORT jobject Java_org_1jni_11zero_1SampleProxyEdgeCases_1arrayTypes1(
JNIEnv* env,
jclass jcaller,
jobject a,
jobject b);
JNI_POSSIBLE_BOUNDARY_EXPORT jobject Java_org_1jni_11zero_1SampleProxyEdgeCases_1arrayTypes2(
JNIEnv* env,
jclass jcaller,
jobject a,
jobject b);
JNI_POSSIBLE_BOUNDARY_EXPORT void Java_org_1jni_11zero_1SampleProxyEdgeCases_1fooForTest(
JNIEnv* env,
jclass jcaller);
JNI_POSSIBLE_BOUNDARY_EXPORT void Java_org_1jni_11zero_1SampleProxyEdgeCases_1fooForTesting(
JNIEnv* env,
jclass jcaller);
JNI_POSSIBLE_BOUNDARY_EXPORT void Java_org_1jni_11zero_1SampleProxyEdgeCases_1fooForTests(
JNIEnv* env,
jclass jcaller);
JNI_POSSIBLE_BOUNDARY_EXPORT void
Java_org_1jni_11zero_1SampleProxyEdgeCases_1foo_11_11weirdly_11_11escaped_11name1(
JNIEnv* env,
jclass jcaller);
JNI_POSSIBLE_BOUNDARY_EXPORT jobject
Java_org_1jni_11zero_1SampleProxyEdgeCases_1genericsWithNestedClassArray(
JNIEnv* env,
jclass jcaller,
jobject arg);
JNI_POSSIBLE_BOUNDARY_EXPORT void Java_org_1jni_11zero_1SampleProxyEdgeCases_1setBool(
JNIEnv* env,
jclass jcaller,
jobject b,
jobject i);
JNI_POSSIBLE_BOUNDARY_EXPORT jboolean Java_org_1jni_11zero_1SampleProxyEdgeCases_1setStringBuilder(
JNIEnv* env,
jclass jcaller,
jobject sb);
JNI_POSSIBLE_BOUNDARY_EXPORT jint Java_org_1jni_11zero_1SampleProxyEdgeCases_1setStringBuilder(
JNIEnv* env,
jclass jcaller,
jint sb);
JNI_POSSIBLE_BOUNDARY_EXPORT void Java_org_jni_1zero_SampleProxyEdgeCases_nativeInstanceMethod(
JNIEnv* env,
jobject jcaller,
jlong nativeInstance);
JNI_POSSIBLE_BOUNDARY_EXPORT void Java_org_jni_1zero_SampleProxyEdgeCases_nativeStaticMethod(
JNIEnv* env,
jclass jcaller);
JNI_BOUNDARY_EXPORT jboolean Java_J_N__1Z_1O(
JNIEnv* env,
jclass jcaller,
jint switch_num, jobject jobject_param1) {
return Java_org_1jni_11zero_1SampleProxyEdgeCases_1setStringBuilder(env, jcaller, jobject_param1);
}
JNI_BOUNDARY_EXPORT jint Java_J_N__1I_1I(
JNIEnv* env,
jclass jcaller,
jint switch_num, jint jint_param1) {
return Java_org_1jni_11zero_1SampleProxyEdgeCases_1setStringBuilder(env, jcaller, jint_param1);
}
JNI_BOUNDARY_EXPORT jint Java_J_N__1I_1OO(
JNIEnv* env,
jclass jcaller,
jint switch_num, jobject jobject_param1, jobject jobject_param2) {
return Java_org_1jni_11zero_1SampleProxyEdgeCases_1addStructB(env, jcaller, jobject_param1, jobject_param2);
}
JNI_BOUNDARY_EXPORT void Java_J_N__1V(
JNIEnv* env,
jclass jcaller,
jint switch_num) {
switch (switch_num) {
case 0:
return Java_org_1jni_11zero_1SampleProxyEdgeCases_1fooForTest(env, jcaller);
case 1:
return Java_org_1jni_11zero_1SampleProxyEdgeCases_1fooForTesting(env, jcaller);
case 2:
return Java_org_1jni_11zero_1SampleProxyEdgeCases_1fooForTests(env, jcaller);
case 3:
return Java_org_1jni_11zero_1SampleProxyEdgeCases_1foo_11_11weirdly_11_11escaped_11name1(env, jcaller);
default:
JNI_ZERO_DCHECK(false);
return;
}
}
JNI_BOUNDARY_EXPORT void Java_J_N__1V_1OO(
JNIEnv* env,
jclass jcaller,
jint switch_num, jobject jobject_param1, jobject jobject_param2) {
return Java_org_1jni_11zero_1SampleProxyEdgeCases_1setBool(env, jcaller, jobject_param1, jobject_param2);
}
JNI_BOUNDARY_EXPORT jobject Java_J_N__1O_1O(
JNIEnv* env,
jclass jcaller,
jint switch_num, jobject jobject_param1) {
return Java_org_1jni_11zero_1SampleProxyEdgeCases_1genericsWithNestedClassArray(env, jcaller, jobject_param1);
}
JNI_BOUNDARY_EXPORT jobject Java_J_N__1O_1OO(
JNIEnv* env,
jclass jcaller,
jint switch_num, jobject jobject_param1, jobject jobject_param2) {
switch (switch_num) {
case 0:
return Java_org_1jni_11zero_1SampleProxyEdgeCases_1arrayTypes1(env, jcaller, jobject_param1, jobject_param2);
case 1:
return Java_org_1jni_11zero_1SampleProxyEdgeCases_1arrayTypes2(env, jcaller, jobject_param1, jobject_param2);
default:
JNI_ZERO_DCHECK(false);
return {};
}
}
#endif // TEMP_DIR_HEADER_