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); }