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

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

/root/JavaX-Caches/tmp_1978377382/main.java:3: error: class, interface, or enum expected abstract sclass DialogBot { ^ /root/JavaX-Caches/tmp_1978377382/main.java:5: error: class, interface, or enum expected OccTree2 tree, node; ^ /root/JavaX-Caches/tmp_1978377382/main.java:7: error: class, interface, or enum expected *(OccTree2 *tree) { node = tree; } ^ /root/JavaX-Caches/tmp_1978377382/main.java:7: error: class, interface, or enum expected *(OccTree2 *tree) { node = tree; } ^ /root/JavaX-Caches/tmp_1978377382/main.java:11: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1978377382/main.java:15: error: class, interface, or enum expected if (e != null) ^ /root/JavaX-Caches/tmp_1978377382/main.java:17: error: class, interface, or enum expected ret e; ^ /root/JavaX-Caches/tmp_1978377382/main.java:18: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1978377382/main.java:22: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1978377382/main.java:28: error: class, interface, or enum expected null; ^ /root/JavaX-Caches/tmp_1978377382/main.java:29: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1978377382/main.java:33: error: class, interface, or enum expected bool rep = false; ^ /root/JavaX-Caches/tmp_1978377382/main.java:34: error: class, interface, or enum expected if (repeat && e == null && node != tree) { ^ /root/JavaX-Caches/tmp_1978377382/main.java:36: error: class, interface, or enum expected rep = true; ^ /root/JavaX-Caches/tmp_1978377382/main.java:37: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1978377382/main.java:42: error: class, interface, or enum expected print("Selecting " + struct(e) + " matching " + struct(in)); ^ /root/JavaX-Caches/tmp_1978377382/main.java:43: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1978377382/main.java:45: error: class, interface, or enum expected true; ^ /root/JavaX-Caches/tmp_1978377382/main.java:46: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1978377382/main.java:49: error: class, interface, or enum expected false; ^ /root/JavaX-Caches/tmp_1978377382/main.java:50: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1978377382/main.java:52: error: class, interface, or enum expected abstract bool matchE(E a, E b); ^ /root/JavaX-Caches/tmp_1978377382/main.java:54: error: class, interface, or enum expected E nextBotOutput() { ^ /root/JavaX-Caches/tmp_1978377382/main.java:56: error: class, interface, or enum expected Collection<E> follows = node.followUpKeys(); ^ /root/JavaX-Caches/tmp_1978377382/main.java:57: error: class, interface, or enum expected for (E e : follows) ^ /root/JavaX-Caches/tmp_1978377382/main.java:60: error: class, interface, or enum expected if (empty(l)) null; // fail("no good bot output: " + struct(node.followUpKeys())); ^ /root/JavaX-Caches/tmp_1978377382/main.java:61: error: class, interface, or enum expected if (l(l) > 1) fail("unclear bot output: " + struct(follows)); ^ /root/JavaX-Caches/tmp_1978377382/main.java:62: error: class, interface, or enum expected ret first(l); ^ /root/JavaX-Caches/tmp_1978377382/main.java:63: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1978377382/main.java:67: error: class, interface, or enum expected if (node == null) fail("can't select " + structure(e)); ^ /root/JavaX-Caches/tmp_1978377382/main.java:68: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1978377382/main.java:72: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1978377382/main.java:76: error: class, interface, or enum expected *(OccTree2 node) { super(node); } ^ /root/JavaX-Caches/tmp_1978377382/main.java:81: error: class, interface, or enum expected } ^ 34 errors