please include function javaParser_makeAllPublic. !include once #1020877 // PrettyPrintVisitor2 static S javaParser_makeAllPublic_shorter(S src) { CompilationUnit cu = javaParseCompilationUnit(src); new PrettyPrinterConfiguration ppconf; ppconf.setIndent(" "); ppconf.setPrintComments(false); new javaParser_makeAllPublic_Visitor().visit(cu, null); ppconf.setVisitorFactory(\conf -> PrettyPrintVisitor2(conf)); ret new PrettyPrinter(ppconf).print(cu); }
Began life as a copy of #1011234
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1020878 |
| Snippet name: | javaParser_makeAllPublic_shorter - use our own pretty printer with less empty lines [dev.] |
| Eternal ID of this version: | #1020878/4 |
| Text MD5: | 95143b0e2cc0175544acb2f18b442de6 |
| Author: | stefan |
| Category: | javax / parsing |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-01-07 15:11:04 |
| Source code size: | 482 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 588 / 651 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |