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

Method gobindOpts

bind/genjava.go:980–986  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

978}
979
980func (g *JavaGen) gobindOpts() string {
981 opts := []string{"-lang=java"}
982 if g.JavaPkg != "" {
983 opts = append(opts, "-javapkg="+g.JavaPkg)
984 }
985 return strings.Join(opts, " ")
986}
987
988var javaNameReplacer = newNameSanitizer([]string{
989 "abstract", "assert", "boolean", "break", "byte", "case", "catch", "char",

Callers 5

genStructMethod · 0.95
genInterfaceMethod · 0.95
GenHMethod · 0.95
GenCMethod · 0.95
GenJavaMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected