Wrote /root/JavaX-Caches/tmp_225598331/main.java - 1327 bytes (written=1327, should be 1327) javac=0, ecj=1, useJarBot=0 Checking ECJ at port 4898 at 127.0.0.1 /root/jdk-17/bin/javac -source 1.8 -target 1.8 -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_1517666040 /root/JavaX-Caches/tmp_225598331/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_225598331/main.java:1: error: class, interface, or enum expected !752 ^ /root/JavaX-Caches/tmp_225598331/main.java:9: error: class, interface, or enum expected p { ^ /root/JavaX-Caches/tmp_225598331/main.java:11: error: class, interface, or enum expected checkIs("arnold", "bad guy"); ^ /root/JavaX-Caches/tmp_225598331/main.java:12: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_225598331/main.java:16: error: class, interface, or enum expected pcall { ^ /root/JavaX-Caches/tmp_225598331/main.java:18: error: class, interface, or enum expected print(" " + answer); ^ /root/JavaX-Caches/tmp_225598331/main.java:19: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_225598331/main.java:26: error: class, interface, or enum expected if (nempty(l)) ^ /root/JavaX-Caches/tmp_225598331/main.java:29: error: class, interface, or enum expected l = findStatements(format("* is not a *", a, b)); ^ /root/JavaX-Caches/tmp_225598331/main.java:30: error: class, interface, or enum expected if (nempty(l)) ^ /root/JavaX-Caches/tmp_225598331/main.java:34: error: class, interface, or enum expected l = findStatements(quote(a) + "is a *"); ^ /root/JavaX-Caches/tmp_225598331/main.java:35: error: class, interface, or enum expected new TreeSet<S> classes; ^ /root/JavaX-Caches/tmp_225598331/main.java:36: error: class, interface, or enum expected for (Matches m : l) ^ /root/JavaX-Caches/tmp_225598331/main.java:39: error: class, interface, or enum expected print("Classes found: " + structure(classes)); ^ /root/JavaX-Caches/tmp_225598331/main.java:40: error: class, interface, or enum expected for (S c : classes) { ^ /root/JavaX-Caches/tmp_225598331/main.java:44: error: class, interface, or enum expected if (nempty(findStatements(format("a * is not a *", c, b)))) ^ /root/JavaX-Caches/tmp_225598331/main.java:46: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_225598331/main.java:49: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_225598331/main.java:53: error: class, interface, or enum expected for (S s : statements) { ^ /root/JavaX-Caches/tmp_225598331/main.java:55: error: class, interface, or enum expected if (match(pat, s, m)) // todo: match quoted and identifier (arnold vs "arnold") ^ /root/JavaX-Caches/tmp_225598331/main.java:57: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_225598331/main.java:59: error: class, interface, or enum expected } ^ 22 errors