Wrote /root/JavaX-Caches/tmp_2120726021/main.java - 2376 bytes (written=2376, should be 2376)
javac=0, ecj=1, useJarBot=0
Checking ECJ at port 4898 at 127.0.0.1
/root/jdk-17/bin/javac -source 11 -target 11 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar:/root/.tinybrain/snippet-cache/1011230.jar -d /root/JavaX-Caches/tmp_1983604370 /root/JavaX-Caches/tmp_2120726021/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_2120726021/main.java:6: error: class, interface, or enum expected
static S javaParser_makeAllPublic(S src, O... _) {
^
/root/JavaX-Caches/tmp_2120726021/main.java:8: error: class, interface, or enum expected
new PrettyPrinterConfiguration ppconf;
^
/root/JavaX-Caches/tmp_2120726021/main.java:9: error: class, interface, or enum expected
ppconf.setIndent(" ");
^
/root/JavaX-Caches/tmp_2120726021/main.java:10: error: class, interface, or enum expected
ppconf.setPrintComments(false);
^
/root/JavaX-Caches/tmp_2120726021/main.java:11: error: class, interface, or enum expected
new javaParser_makeAllPublic_Visitor visitor;
^
/root/JavaX-Caches/tmp_2120726021/main.java:12: error: class, interface, or enum expected
visitor.notTopLevelClassDecl = boolOptPar notTopLevelClassDecl(_);
^
/root/JavaX-Caches/tmp_2120726021/main.java:13: error: class, interface, or enum expected
visitor.visit(cu, null);
^
/root/JavaX-Caches/tmp_2120726021/main.java:14: error: class, interface, or enum expected
ret cu.toString(ppconf);
^
/root/JavaX-Caches/tmp_2120726021/main.java:15: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2120726021/main.java:20: error: class, interface, or enum expected
void makePublic(Set modifiers) {
^
/root/JavaX-Caches/tmp_2120726021/main.java:22: error: class, interface, or enum expected
modifiers.remove(com.github.javaparser.ast.Modifier.PROTECTED);
^
/root/JavaX-Caches/tmp_2120726021/main.java:23: error: class, interface, or enum expected
modifiers.add(com.github.javaparser.ast.Modifier.PUBLIC);
^
/root/JavaX-Caches/tmp_2120726021/main.java:24: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2120726021/main.java:26: error: class, interface, or enum expected
public void visit(ClassOrInterfaceDeclaration n, O arg) {
^
/root/JavaX-Caches/tmp_2120726021/main.java:28: error: class, interface, or enum expected
if (!(parent instanceof LocalClassDeclarationStmt
^
/root/JavaX-Caches/tmp_2120726021/main.java:32: error: class, interface, or enum expected
else
^
/root/JavaX-Caches/tmp_2120726021/main.java:34: error: class, interface, or enum expected
super.visit(n, arg);
^
/root/JavaX-Caches/tmp_2120726021/main.java:35: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2120726021/main.java:38: error: class, interface, or enum expected
public void visit(EnumDeclaration n, O arg) {
^
/root/JavaX-Caches/tmp_2120726021/main.java:40: error: class, interface, or enum expected
super.visit(n, arg);
^
/root/JavaX-Caches/tmp_2120726021/main.java:41: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2120726021/main.java:43: error: class, interface, or enum expected
public void visit(FieldDeclaration n, O arg) {
^
/root/JavaX-Caches/tmp_2120726021/main.java:45: error: class, interface, or enum expected
super.visit(n, arg);
^
/root/JavaX-Caches/tmp_2120726021/main.java:46: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2120726021/main.java:48: error: class, interface, or enum expected
public void visit(ConstructorDeclaration n, O arg) {
^
/root/JavaX-Caches/tmp_2120726021/main.java:50: error: class, interface, or enum expected
if (!parent instanceof EnumDeclaration)
^
/root/JavaX-Caches/tmp_2120726021/main.java:52: error: class, interface, or enum expected
super.visit(n, arg);
^
/root/JavaX-Caches/tmp_2120726021/main.java:53: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2120726021/main.java:55: error: class, interface, or enum expected
public void visit(MethodDeclaration n, O arg) {
^
/root/JavaX-Caches/tmp_2120726021/main.java:58: error: class, interface, or enum expected
if (m.contains(com.github.javaparser.ast.Modifier.PRIVATE) && !m.contains(com.github.javaparser.ast.Modifier.STATIC)) m.add(com.github.javaparser.ast.Modifier.FINAL);
^
/root/JavaX-Caches/tmp_2120726021/main.java:59: error: class, interface, or enum expected
makePublic(m);
^
/root/JavaX-Caches/tmp_2120726021/main.java:60: error: class, interface, or enum expected
super.visit(n, arg);
^
/root/JavaX-Caches/tmp_2120726021/main.java:61: error: class, interface, or enum expected
}
^
33 errors