| 63 | }; |
| 64 | |
| 65 | struct concat { |
| 66 | concat(string &str, char sep) : str_(str), sep_(sep) {} |
| 67 | void operator()(const string &sub) { |
| 68 | str_ += sub + sep_; |
| 69 | } |
| 70 | string &str_; |
| 71 | char sep_; |
| 72 | }; |
| 73 | |
| 74 | bool java_class_gen(const JavaName &jn, JavaFileType jft, const char *body, |
| 75 | const char *extends = "", |