JavaClassName returns the name of the Java class that contains Go package level identifiers.
(pkg *types.Package)
| 1019 | // JavaClassName returns the name of the Java class that |
| 1020 | // contains Go package level identifiers. |
| 1021 | func JavaClassName(pkg *types.Package) string { |
| 1022 | if pkg == nil { |
| 1023 | return "Universe" |
| 1024 | } |
| 1025 | return javaNameReplacer(strings.Title(pkg.Name())) |
| 1026 | } |
| 1027 | |
| 1028 | func (g *JavaGen) genConst(o *types.Const) { |
| 1029 | if _, ok := o.Type().(*types.Basic); !ok || !g.isSupported(o.Type()) { |
no outgoing calls
no test coverage detected