(doc string)
| 383 | } |
| 384 | |
| 385 | func (g *JavaGen) javadoc(doc string) { |
| 386 | if doc == "" { |
| 387 | return |
| 388 | } |
| 389 | // JavaDoc expects HTML-escaped documentation. |
| 390 | g.Printf("/**\n * %s */\n", html.EscapeString(doc)) |
| 391 | } |
| 392 | |
| 393 | // hasThis reports whether a method has an implicit "this" parameter. |
| 394 | func (g *JavaGen) hasThis(sName string, m *types.Func) bool { |
no test coverage detected