MCPcopy Create free account
hub / github.com/golang/mobile / genProxyImpl

Method genProxyImpl

bind/genjava.go:227–233  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

225}
226
227func (g *JavaGen) genProxyImpl(name string) {
228 g.Printf("private final int refnum;\n\n")
229 g.Printf("@Override public final int incRefnum() {\n")
230 g.Printf(" Seq.incGoRef(refnum, this);\n")
231 g.Printf(" return refnum;\n")
232 g.Printf("}\n\n")
233}
234
235func (g *JavaGen) genStruct(s structInfo) {
236 pkgPath := ""

Callers 2

genStructMethod · 0.95
GenJavaMethod · 0.95

Calls 1

PrintfMethod · 0.80

Tested by

no test coverage detected