// Release a local reference (returned from LocalRef) back to the JVM func (self *Environment) DeleteLocalRef(o *Object) { C.envDeleteLocalRef(self.env, o.object) }
// Syntactic sugar around LocalUnref(&Object{C.jobject(class.class)}) func (self *Environment) DeleteLocalClassRef(c *Class) { C.envDeleteLocalRef(self.env, c.class) }