| 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. |
no outgoing calls
no test coverage detected
searching dependent graphs…