MCPcopy Index your code
hub / github.com/golang/mobile / GoObject

Interface GoObject

bind/java/Seq.java:112–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110 // is passed to Go, it is wrapped in a Go proxy, to make it behave
111 // the same as passing a regular Java class.
112 public interface GoObject {
113 // Increment refcount and return the refnum of the proxy.
114 //
115 // The Go reference count need to be bumped while the
116 // refnum is passed to Go, to avoid finalizing and
117 // invalidating it before being translated on the Go side.
118 int incRefnum();
119 }
120 // A Proxy is a Java object that proxies a Go object. Proxies, unlike
121 // GoObjects, are unwrapped to their Go counterpart when deserialized
122 // in Go.

Callers 3

incRefnumMethod · 0.65
incGoObjectRefMethod · 0.65
incMethod · 0.65

Implementers 2

Seqbind/java/Seq.java
RefTrackerbind/java/Seq.java

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…