please include function javaParser_makeAllPublic. static S javaParser_makeAllPublic_keepComments(S src) { CompilationUnit cu = javaParseCompilationUnit(src); new PrettyPrinterConfiguration ppconf; ppconf.setIndent(" "); new javaParser_makeAllPublic_Visitor().visit(cu, null); ret cu.toString(ppconf); }