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

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

/root/JavaX-Caches/tmp_1092449373/main.java:1: error: class, interface, or enum expected !7 ^ /root/JavaX-Caches/tmp_1092449373/main.java:15: error: class, interface, or enum expected sclass Confirmed(Statement st) {} ^ /root/JavaX-Caches/tmp_1092449373/main.java:20: error: class, interface, or enum expected ts.objects.add(Input("a cup of joe")); ^ /root/JavaX-Caches/tmp_1092449373/main.java:22: error: class, interface, or enum expected ts.addDefinitions(defs); ^ /root/JavaX-Caches/tmp_1092449373/main.java:23: error: class, interface, or enum expected ts.think(false); ^ /root/JavaX-Caches/tmp_1092449373/main.java:25: error: class, interface, or enum expected for (Definition d : ts.definitionsForInput()) { ^ /root/JavaX-Caches/tmp_1092449373/main.java:27: error: class, interface, or enum expected new ThoughtSpace1 ts2; ^ /root/JavaX-Caches/tmp_1092449373/main.java:28: error: class, interface, or enum expected ts2.objects.add(Input((S) d.rhs)); ^ /root/JavaX-Caches/tmp_1092449373/main.java:29: error: class, interface, or enum expected ts2.addDefinitions(defs); ^ /root/JavaX-Caches/tmp_1092449373/main.java:30: error: class, interface, or enum expected ts2.steppers.add(voidfunc(ThoughtSpace1 ts) { ^ /root/JavaX-Caches/tmp_1092449373/main.java:33: error: class, interface, or enum expected ts2.think(false); ^ /root/JavaX-Caches/tmp_1092449373/main.java:34: error: class, interface, or enum expected ts2.removeInitialObjects(); ^ /root/JavaX-Caches/tmp_1092449373/main.java:36: error: class, interface, or enum expected pnlStruct(ts2.statements()); ^ /root/JavaX-Caches/tmp_1092449373/main.java:37: error: class, interface, or enum expected } ^ 14 errors