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

Method GenClass

bind/genjava.go:212–225  ·  view source on GitHub ↗
(idx int)

Source from the content-addressed store, hash-verified

210}
211
212func (g *JavaGen) GenClass(idx int) error {
213 ns := len(g.structs)
214 if idx < ns {
215 s := g.structs[idx]
216 g.genStruct(s)
217 } else {
218 iface := g.interfaces[idx-ns]
219 g.genInterface(iface)
220 }
221 if len(g.err) > 0 {
222 return g.err
223 }
224 return nil
225}
226
227func (g *JavaGen) genProxyImpl(name string) {
228 g.Printf("private final int refnum;\n\n")

Callers 3

TestGenJavaFunction · 0.95
TestCustomPrefixFunction · 0.95
genPkgFunction · 0.80

Calls 2

genStructMethod · 0.95
genInterfaceMethod · 0.95

Tested by 2

TestGenJavaFunction · 0.76
TestCustomPrefixFunction · 0.76