JNIHelp.cpp | 39 class scoped_local_ref { class 41 scoped_local_ref(C_JNIEnv* env, T localRef = NULL) function in class:scoped_local_ref 46 ~scoped_local_ref() { 65 DISALLOW_COPY_AND_ASSIGN(scoped_local_ref); 80 scoped_local_ref<jclass> c(env, findClass(env, className)); 105 scoped_local_ref<jclass> exceptionClass(env, (*env)->GetObjectClass(e, exception)); // can't fail 106 scoped_local_ref<jclass> classClass(env, 110 scoped_local_ref<jstring> classNameStr(env, 129 scoped_local_ref<jstring> messageStr(env, 155 scoped_local_ref<jclass> stringWriterClass(env, findClass(env, "java/io/StringWriter")) [all...] |