+ return (*self)->NewStringUTF(self, String_to_cstring(string));
+ `}
+
+ # Pushes a local reference frame on the JNI stack
+ fun push_local_frame(capacity: Int): Bool `{
+ return (*self)->PushLocalFrame(self, capacity);
+ `}
+
+ # Pops the current local reference frame on the JNI stack
+ #
+ # Similiar to `JavaObject::pop_from_local_frame` which returns a value.
+ fun pop_local_frame `{
+ (*self)->PopLocalFrame(self, NULL);