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

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

/root/JavaX-Caches/tmp_1852339199/main.java:1: error: class, interface, or enum expected sclass OccTree2 { ^ /root/JavaX-Caches/tmp_1852339199/main.java:3: error: class, interface, or enum expected E e; ^ /root/JavaX-Caches/tmp_1852339199/main.java:4: error: class, interface, or enum expected new L<OccTree2> next; ^ /root/JavaX-Caches/tmp_1852339199/main.java:5: error: class, interface, or enum expected int count; // This isn't accurate after replaceWith and stuff ^ /root/JavaX-Caches/tmp_1852339199/main.java:7: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_1852339199/main.java:12: error: class, interface, or enum expected ++count; ^ /root/JavaX-Caches/tmp_1852339199/main.java:13: error: class, interface, or enum expected for (E c : script) ^ /root/JavaX-Caches/tmp_1852339199/main.java:15: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1852339199/main.java:19: error: class, interface, or enum expected if (node == null) ^ /root/JavaX-Caches/tmp_1852339199/main.java:21: error: class, interface, or enum expected ret node; ^ /root/JavaX-Caches/tmp_1852339199/main.java:22: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1852339199/main.java:28: error: class, interface, or enum expected null; ^ /root/JavaX-Caches/tmp_1852339199/main.java:29: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1852339199/main.java:33: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1852339199/main.java:37: error: class, interface, or enum expected child.parent = this; ^ /root/JavaX-Caches/tmp_1852339199/main.java:38: error: class, interface, or enum expected ret child; ^ /root/JavaX-Caches/tmp_1852339199/main.java:39: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1852339199/main.java:44: error: class, interface, or enum expected for (OccTree2 t : next) ^ /root/JavaX-Caches/tmp_1852339199/main.java:46: error: class, interface, or enum expected ret n; ^ /root/JavaX-Caches/tmp_1852339199/main.java:47: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1852339199/main.java:49: error: class, interface, or enum expected L<OccTree2> allLeaves() { new L l; collectLeaves(l); ret l; } ^ /root/JavaX-Caches/tmp_1852339199/main.java:49: error: class, interface, or enum expected L<OccTree2> allLeaves() { new L l; collectLeaves(l); ret l; } ^ /root/JavaX-Caches/tmp_1852339199/main.java:49: error: class, interface, or enum expected L<OccTree2> allLeaves() { new L l; collectLeaves(l); ret l; } ^ /root/JavaX-Caches/tmp_1852339199/main.java:52: error: class, interface, or enum expected L<OccTree2> allNodes() { new L l; collectNodes(l); ret l; } ^ /root/JavaX-Caches/tmp_1852339199/main.java:52: error: class, interface, or enum expected L<OccTree2> allNodes() { new L l; collectNodes(l); ret l; } ^ /root/JavaX-Caches/tmp_1852339199/main.java:52: error: class, interface, or enum expected L<OccTree2> allNodes() { new L l; collectNodes(l); ret l; } ^ /root/JavaX-Caches/tmp_1852339199/main.java:57: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_1852339199/main.java:60: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1852339199/main.java:65: error: class, interface, or enum expected for (OccTree2 t : next) ^ /root/JavaX-Caches/tmp_1852339199/main.java:67: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1852339199/main.java:69: error: class, interface, or enum expected bool isRoot() { ret e == null; } ^ /root/JavaX-Caches/tmp_1852339199/main.java:73: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1852339199/main.java:77: error: class, interface, or enum expected OccTree2 node = this; ^ /root/JavaX-Caches/tmp_1852339199/main.java:78: error: class, interface, or enum expected while (node.parent != null) { ^ /root/JavaX-Caches/tmp_1852339199/main.java:80: error: class, interface, or enum expected node = node.parent; ^ /root/JavaX-Caches/tmp_1852339199/main.java:81: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1852339199/main.java:83: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1852339199/main.java:87: error: class, interface, or enum expected parent.next.set(i, n); ^ /root/JavaX-Caches/tmp_1852339199/main.java:88: error: class, interface, or enum expected n.parent = parent; ^ /root/JavaX-Caches/tmp_1852339199/main.java:89: error: class, interface, or enum expected parent = null; ^ /root/JavaX-Caches/tmp_1852339199/main.java:90: error: class, interface, or enum expected } ^ 41 errors