Wrote /root/JavaX-Caches/tmp_1404387725/main.java - 826505 bytes (written=826505, should be 826505) 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 -d /root/JavaX-Caches/tmp_1895430909 /root/JavaX-Caches/tmp_1404387725/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_1404387725/main.java:52: error: package com.github.javaparser.ast does not exist import com.github.javaparser.ast.CompilationUnit; ^ /root/JavaX-Caches/tmp_1404387725/main.java:53: error: package com.github.javaparser.ast does not exist import com.github.javaparser.ast.Node; ^ /root/JavaX-Caches/tmp_1404387725/main.java:56: error: package com.github.javaparser does not exist import com.github.javaparser.Problem; ^ /root/JavaX-Caches/tmp_1404387725/main.java:57: error: package com.github.javaparser.ast does not exist import com.github.javaparser.ast.NodeList; ^ /root/JavaX-Caches/tmp_1404387725/main.java:58: error: package com.github.javaparser.ast.body does not exist import com.github.javaparser.ast.body.MethodDeclaration; ^ /root/JavaX-Caches/tmp_1404387725/main.java:59: error: package com.github.javaparser.ast.body does not exist import com.github.javaparser.ast.body.EnumDeclaration; ^ /root/JavaX-Caches/tmp_1404387725/main.java:60: error: package com.github.javaparser.ast.stmt does not exist import com.github.javaparser.ast.stmt.LocalClassDeclarationStmt; ^ /root/JavaX-Caches/tmp_1404387725/main.java:85: error: cannot find symbol static CompilationUnit javaParseCompilationUnit(String java) { return javaParseCompilationUnit(java, false); } ^ symbol: class CompilationUnit location: class main /root/JavaX-Caches/tmp_1404387725/main.java:86: error: cannot find symbol static CompilationUnit javaParseCompilationUnit(String java, boolean withComments) { ^ symbol: class CompilationUnit location: class main /root/JavaX-Caches/tmp_1404387725/main.java:51: error: package com.github.javaparser does not exist import com.github.javaparser.*; ^ /root/JavaX-Caches/tmp_1404387725/main.java:54: error: package com.github.javaparser.ast.body does not exist import com.github.javaparser.ast.body.*; ^ /root/JavaX-Caches/tmp_1404387725/main.java:55: error: package com.github.javaparser.ast.visitor does not exist import com.github.javaparser.ast.visitor.*; ^ /root/JavaX-Caches/tmp_1404387725/main.java:61: error: package com.github.javaparser.printer does not exist import com.github.javaparser.printer.*; ^ /root/JavaX-Caches/tmp_1404387725/main.java:113: error: cannot find symbol static class javaParser_makeAllPublic_Visitor extends VoidVisitorAdapter { ^ symbol: class VoidVisitorAdapter location: class main /root/JavaX-Caches/tmp_1404387725/main.java:116: error: cannot find symbol void makePublic(NodeList<com.github.javaparser.ast.Modifier> modifiers) { ^ symbol: class NodeList location: class javaParser_makeAllPublic_Visitor /root/JavaX-Caches/tmp_1404387725/main.java:116: error: package com.github.javaparser.ast does not exist void makePublic(NodeList<com.github.javaparser.ast.Modifier> modifiers) { ^ /root/JavaX-Caches/tmp_1404387725/main.java:124: error: cannot find symbol public void visit(ClassOrInterfaceDeclaration n, Object arg) { ^ symbol: class ClassOrInterfaceDeclaration location: class javaParser_makeAllPublic_Visitor /root/JavaX-Caches/tmp_1404387725/main.java:135: error: cannot find symbol public void visit(FieldDeclaration n, Object arg) { ^ symbol: class FieldDeclaration location: class javaParser_makeAllPublic_Visitor /root/JavaX-Caches/tmp_1404387725/main.java:140: error: cannot find symbol public void visit(ConstructorDeclaration n, Object arg) { ^ symbol: class ConstructorDeclaration location: class javaParser_makeAllPublic_Visitor /root/JavaX-Caches/tmp_1404387725/main.java:147: error: cannot find symbol public void visit(MethodDeclaration n, Object arg) { ^ symbol: class MethodDeclaration location: class javaParser_makeAllPublic_Visitor /root/JavaX-Caches/tmp_1404387725/main.java:87: error: cannot find symbol JavaParser p = new JavaParser(); ^ symbol: class JavaParser location: class main /root/JavaX-Caches/tmp_1404387725/main.java:87: error: cannot find symbol JavaParser p = new JavaParser(); ^ symbol: class JavaParser location: class main /root/JavaX-Caches/tmp_1404387725/main.java:89: error: cannot find symbol ParseResult<CompilationUnit> r = p.parse(java); ^ symbol: class ParseResult location: class main /root/JavaX-Caches/tmp_1404387725/main.java:89: error: cannot find symbol ParseResult<CompilationUnit> r = p.parse(java); ^ symbol: class CompilationUnit location: class main /root/JavaX-Caches/tmp_1404387725/main.java:102: error: cannot find symbol CompilationUnit cu = javaParseCompilationUnit(src); ^ symbol: class CompilationUnit location: class main /root/JavaX-Caches/tmp_1404387725/main.java:103: error: cannot find symbol PrettyPrinterConfiguration ppconf = new PrettyPrinterConfiguration(); ^ symbol: class PrettyPrinterConfiguration location: class main /root/JavaX-Caches/tmp_1404387725/main.java:103: error: cannot find symbol PrettyPrinterConfiguration ppconf = new PrettyPrinterConfiguration(); ^ symbol: class PrettyPrinterConfiguration location: class main /root/JavaX-Caches/tmp_1404387725/main.java:105: error: package PrettyPrinterConfiguration does not exist ppconf.setIndentType(PrettyPrinterConfiguration.IndentType.SPACES); ^ /root/JavaX-Caches/tmp_1404387725/main.java:118: error: package com.github.javaparser.ast does not exist modifiers.remove(com.github.javaparser.ast.Modifier.privateModifier()); ^ /root/JavaX-Caches/tmp_1404387725/main.java:119: error: package com.github.javaparser.ast does not exist modifiers.remove(com.github.javaparser.ast.Modifier.protectedModifier()); ^ /root/JavaX-Caches/tmp_1404387725/main.java:120: error: package com.github.javaparser.ast does not exist if (!modifiers.contains(com.github.javaparser.ast.Modifier.publicModifier())) ^ /root/JavaX-Caches/tmp_1404387725/main.java:121: error: package com.github.javaparser.ast does not exist modifiers.add(com.github.javaparser.ast.Modifier.publicModifier()); ^ /root/JavaX-Caches/tmp_1404387725/main.java:125: error: cannot find symbol Node parent = n.getParentNode().get(); ^ symbol: class Node location: class javaParser_makeAllPublic_Visitor /root/JavaX-Caches/tmp_1404387725/main.java:126: error: cannot find symbol if (!(parent instanceof LocalClassDeclarationStmt ^ symbol: class LocalClassDeclarationStmt location: class javaParser_makeAllPublic_Visitor /root/JavaX-Caches/tmp_1404387725/main.java:127: error: cannot find symbol || parent instanceof CompilationUnit && neq(n.getName().asString(), "main"))) ^ symbol: class CompilationUnit location: class javaParser_makeAllPublic_Visitor /root/JavaX-Caches/tmp_1404387725/main.java:132: error: non-static variable super cannot be referenced from a static context super.visit(n, arg); ^ /root/JavaX-Caches/tmp_1404387725/main.java:137: error: non-static variable super cannot be referenced from a static context super.visit(n, arg); ^ /root/JavaX-Caches/tmp_1404387725/main.java:141: error: cannot find symbol Node parent = n.getParentNode().get(); ^ symbol: class Node location: class javaParser_makeAllPublic_Visitor /root/JavaX-Caches/tmp_1404387725/main.java:142: error: cannot find symbol if (!(parent instanceof EnumDeclaration)) ^ symbol: class EnumDeclaration location: class javaParser_makeAllPublic_Visitor /root/JavaX-Caches/tmp_1404387725/main.java:144: error: non-static variable super cannot be referenced from a static context super.visit(n, arg); ^ /root/JavaX-Caches/tmp_1404387725/main.java:148: error: cannot find symbol NodeList<com.github.javaparser.ast.Modifier> m = n.getModifiers(); ^ symbol: class NodeList location: class javaParser_makeAllPublic_Visitor /root/JavaX-Caches/tmp_1404387725/main.java:148: error: package com.github.javaparser.ast does not exist NodeList<com.github.javaparser.ast.Modifier> m = n.getModifiers(); ^ /root/JavaX-Caches/tmp_1404387725/main.java:150: error: package com.github.javaparser.ast does not exist if (m.contains(com.github.javaparser.ast.Modifier.privateModifier()) && !m.contains(com.github.javaparser.ast.Modifier.staticModifier()) && !m.contains(com.github.javaparser.ast.Modifier.finalModifier())) ^ /root/JavaX-Caches/tmp_1404387725/main.java:150: error: package com.github.javaparser.ast does not exist if (m.contains(com.github.javaparser.ast.Modifier.privateModifier()) && !m.contains(com.github.javaparser.ast.Modifier.staticModifier()) && !m.contains(com.github.javaparser.ast.Modifier.finalModifier())) ^ /root/JavaX-Caches/tmp_1404387725/main.java:150: error: package com.github.javaparser.ast does not exist if (m.contains(com.github.javaparser.ast.Modifier.privateModifier()) && !m.contains(com.github.javaparser.ast.Modifier.staticModifier()) && !m.contains(com.github.javaparser.ast.Modifier.finalModifier())) ^ /root/JavaX-Caches/tmp_1404387725/main.java:151: error: package com.github.javaparser.ast does not exist m.add(com.github.javaparser.ast.Modifier.finalModifier()); ^ /root/JavaX-Caches/tmp_1404387725/main.java:153: error: non-static variable super cannot be referenced from a static context super.visit(n, arg); ^ /root/JavaX-Caches/tmp_1404387725/main.java:157: error: cannot find symbol CompilationUnit cu = javaParseCompilationUnit(src, true); ^ symbol: class CompilationUnit location: class main /root/JavaX-Caches/tmp_1404387725/main.java:158: error: cannot find symbol PrettyPrinterConfiguration ppconf = new PrettyPrinterConfiguration(); ^ symbol: class PrettyPrinterConfiguration location: class main /root/JavaX-Caches/tmp_1404387725/main.java:158: error: cannot find symbol PrettyPrinterConfiguration ppconf = new PrettyPrinterConfiguration(); ^ symbol: class PrettyPrinterConfiguration location: class main /root/JavaX-Caches/tmp_1404387725/main.java:161: error: package PrettyPrinterConfiguration does not exist ppconf.setIndentType(PrettyPrinterConfiguration.IndentType.SPACES); ^ /root/JavaX-Caches/tmp_1404387725/main.java:166: error: cannot find symbol CompilationUnit cu = javaParseCompilationUnit(src); ^ symbol: class CompilationUnit location: class main /root/JavaX-Caches/tmp_1404387725/main.java:167: error: cannot find symbol PrettyPrinterConfiguration ppconf = new PrettyPrinterConfiguration(); ^ symbol: class PrettyPrinterConfiguration location: class main /root/JavaX-Caches/tmp_1404387725/main.java:167: error: cannot find symbol PrettyPrinterConfiguration ppconf = new PrettyPrinterConfiguration(); ^ symbol: class PrettyPrinterConfiguration location: class main /root/JavaX-Caches/tmp_1404387725/main.java:170: error: package PrettyPrinterConfiguration does not exist ppconf.setIndentType(PrettyPrinterConfiguration.IndentType.SPACES); ^ 55 errors