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

Method incRefnum

bind/java/Seq.java:200–206  ·  view source on GitHub ↗
(int refnum)

Source from the content-addressed store, hash-verified

198 }
199
200 synchronized void incRefnum(int refnum) {
201 Ref ref = javaObjs.get(refnum);
202 if (ref == null) {
203 throw new RuntimeException("referenced Java object is not found: refnum="+refnum);
204 }
205 ref.inc();
206 }
207
208 // dec decrements the reference count of a Java object when
209 // Go signals a corresponding proxy object is finalized.

Callers

nothing calls this directly

Calls 2

incMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected