please include function javaParser_makeAllPublic. please include function javaParseCompilationUnit. static S javaParser_reparse_keepComments(S src) { CompilationUnit cu = JavaParser.parse(src); new PrettyPrinterConfiguration ppconf; ppconf.setPrintComments(true); ppconf.setIndent(" "); ret cu.toString(ppconf); }