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

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

/root/JavaX-Caches/tmp_1278576079/main.java:2: error: class, interface, or enum expected sclass E { ^ /root/JavaX-Caches/tmp_1278576079/main.java:4: error: class, interface, or enum expected bool test; // not used anymore probably ^ /root/JavaX-Caches/tmp_1278576079/main.java:5: error: class, interface, or enum expected S comment; // not checked for comparison ^ /root/JavaX-Caches/tmp_1278576079/main.java:7: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_1278576079/main.java:10: error: class, interface, or enum expected else if (eq(type, "a")) a = text; ^ /root/JavaX-Caches/tmp_1278576079/main.java:11: error: class, interface, or enum expected else state = text; ^ /root/JavaX-Caches/tmp_1278576079/main.java:12: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1278576079/main.java:17: error: class, interface, or enum expected ret eq/*ic*/(x.q, y.q) && eq/*ic*/(x.a, y.a) && eq/*ic*/(x.state, y.state); ^ /root/JavaX-Caches/tmp_1278576079/main.java:18: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1278576079/main.java:20: error: class, interface, or enum expected public bool equals(O o) { ^ /root/JavaX-Caches/tmp_1278576079/main.java:22: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1278576079/main.java:24: error: class, interface, or enum expected public int hashCode() { ^ /root/JavaX-Caches/tmp_1278576079/main.java:26: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1278576079/main.java:29: error: class, interface, or enum expected if (state == null) null; new E e; e.state = state; ret e; ^ /root/JavaX-Caches/tmp_1278576079/main.java:29: error: class, interface, or enum expected if (state == null) null; new E e; e.state = state; ret e; ^ /root/JavaX-Caches/tmp_1278576079/main.java:29: error: class, interface, or enum expected if (state == null) null; new E e; e.state = state; ret e; ^ /root/JavaX-Caches/tmp_1278576079/main.java:30: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1278576079/main.java:33: error: class, interface, or enum expected if (q == null) null; new E e; e.q = q; ret e; ^ /root/JavaX-Caches/tmp_1278576079/main.java:33: error: class, interface, or enum expected if (q == null) null; new E e; e.q = q; ret e; ^ /root/JavaX-Caches/tmp_1278576079/main.java:33: error: class, interface, or enum expected if (q == null) null; new E e; e.q = q; ret e; ^ /root/JavaX-Caches/tmp_1278576079/main.java:34: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1278576079/main.java:37: error: class, interface, or enum expected if (a == null) null; new E e; e.a = a; ret e; ^ /root/JavaX-Caches/tmp_1278576079/main.java:37: error: class, interface, or enum expected if (a == null) null; new E e; e.a = a; ret e; ^ /root/JavaX-Caches/tmp_1278576079/main.java:37: error: class, interface, or enum expected if (a == null) null; new E e; e.a = a; ret e; ^ /root/JavaX-Caches/tmp_1278576079/main.java:38: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1278576079/main.java:40: error: class, interface, or enum expected public S toString() { ^ /root/JavaX-Caches/tmp_1278576079/main.java:42: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1278576079/main.java:44: error: class, interface, or enum expected bool q() { ret q != null; } ^ /root/JavaX-Caches/tmp_1278576079/main.java:45: error: class, interface, or enum expected bool a() { ret a != null; } ^ /root/JavaX-Caches/tmp_1278576079/main.java:46: error: class, interface, or enum expected bool state() { ret state != null; } ^ /root/JavaX-Caches/tmp_1278576079/main.java:47: error: class, interface, or enum expected S type() { ret q() ? "q" : a() ? "a" : "state"; } ^ /root/JavaX-Caches/tmp_1278576079/main.java:48: error: class, interface, or enum expected S text() { ret q() ? q : a() ? a : state; } ^ 32 errors