Lines Matching defs:ScopedJavaLocalRef
39 // ScopedJavaLocalRef<jstring> into a function taking const JavaRef<jobject>&
71 // Generic base class for ScopedJavaLocalRef and ScopedJavaGlobalRef. Useful
100 class ScopedJavaLocalRef : public JavaRef<T> {
102 ScopedJavaLocalRef() : env_(NULL) {}
104 // Non-explicit copy constructor, to allow ScopedJavaLocalRef to be returned
106 ScopedJavaLocalRef(const ScopedJavaLocalRef<T>& other)
112 explicit ScopedJavaLocalRef(const U& other)
119 ScopedJavaLocalRef(JNIEnv* env, T obj) : JavaRef<T>(env, obj), env_(env) {}
121 ~ScopedJavaLocalRef() {
127 void operator=(const ScopedJavaLocalRef<T>& other) {
136 void Reset(const ScopedJavaLocalRef<U>& other) {