Transpiled version (13263L) is out of date.
| 1 | !include once #1025810 // JavaParser | 
| 2 | !include once #1025812 // javaParseCompilationUnit | 
| 3 | !include once #1025811 // javaParser_makeAllPublic | 
| 4 | |
| 5 | static S javaParser_makeAllPublic_keepComments(S src) {
 | 
| 6 | CompilationUnit cu = javaParseCompilationUnit(src, true); | 
| 7 | new PrettyPrinterConfiguration ppconf; | 
| 8 | ppconf.setPrintComments(true); | 
| 9 | ppconf.setIndentSize(2); | 
| 10 | ppconf.setIndentType(PrettyPrinterConfiguration.IndentType.SPACES); | 
| 11 | new javaParser_makeAllPublic_Visitor().visit(cu, null); | 
| 12 | ret cu.toString(ppconf); | 
| 13 | } | 
Began life as a copy of #1011643
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, wnsclhtenguj
No comments. add comment
| Snippet ID: | #1025813 | 
| Snippet name: | javaParser_makeAllPublic_keepComments [new JavaParser] | 
| Eternal ID of this version: | #1025813/5 | 
| Text MD5: | b5c877863e34a1aad638ccf59764f72c | 
| Author: | stefan | 
| Category: | javax / parsing | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2022-07-15 20:53:39 | 
| Source code size: | 525 bytes / 13 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 453 / 2782 | 
| Version history: | 4 change(s) | 
| Referenced in: | [show references] |