Finds a class and keeps it as a global reference.
More...
#include <wpi/jni_util.h>
Finds a class and keeps it as a global reference.
Use with caution, as the destructor does NOT call DeleteGlobalRef due to potential shutdown issues with doing so.
◆ JClass() [1/2]
wpi::java::JClass::JClass |
( |
| ) |
|
|
default |
◆ JClass() [2/2]
wpi::java::JClass::JClass |
( |
JNIEnv * |
env, |
|
|
const char * |
name |
|
) |
| |
|
inline |
◆ free()
void wpi::java::JClass::free |
( |
JNIEnv * |
env | ) |
|
|
inline |
◆ operator bool()
wpi::java::JClass::operator bool |
( |
| ) |
const |
|
inlineexplicit |
◆ operator jclass()
wpi::java::JClass::operator jclass |
( |
| ) |
const |
|
inline |
◆ m_cls
jclass wpi::java::JClass::m_cls = nullptr |
|
protected |
The documentation for this class was generated from the following file: