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

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

/root/JavaX-Caches/tmp_1616219066/main.java:3: error: class, interface, or enum expected static <A, B extends Collection<A>> JTree jDynamicTree_concurrent(final A root, final F1<A, B> makeChildren, fO... optParams) { ^ /root/JavaX-Caches/tmp_1616219066/main.java:3: error: class, interface, or enum expected static <A, B extends Collection<A>> JTree jDynamicTree_concurrent(final A root, final F1<A, B> makeChildren, fO... optParams) { ^ /root/JavaX-Caches/tmp_1616219066/main.java:3: error: class, interface, or enum expected static <A, B extends Collection<A>> JTree jDynamicTree_concurrent(final A root, final F1<A, B> makeChildren, fO... optParams) { ^ /root/JavaX-Caches/tmp_1616219066/main.java:5: error: class, interface, or enum expected final Q queue = startQ(); ^ /root/JavaX-Caches/tmp_1616219066/main.java:6: error: class, interface, or enum expected DefaultMutableTreeNode rootNode = new(root); ^ /root/JavaX-Caches/tmp_1616219066/main.java:7: error: class, interface, or enum expected rootNode.add(new DefaultMutableTreeNode(jDynamicTree_dummy())); ^ /root/JavaX-Caches/tmp_1616219066/main.java:8: error: class, interface, or enum expected final JTree tree = new JTree(rootNode); ^ /root/JavaX-Caches/tmp_1616219066/main.java:9: error: class, interface, or enum expected tree.setShowsRootHandles(true); ^ /root/JavaX-Caches/tmp_1616219066/main.java:10: error: class, interface, or enum expected tree.collapseRow(0); ^ /root/JavaX-Caches/tmp_1616219066/main.java:11: error: class, interface, or enum expected final bool keepChildrenOnCollapse = optParam(optParams, 'keepChildrenOnCollapse, false); ^ /root/JavaX-Caches/tmp_1616219066/main.java:11: error: unclosed character literal final bool keepChildrenOnCollapse = optParam(optParams, 'keepChildrenOnCollapse, false); ^ /root/JavaX-Caches/tmp_1616219066/main.java:13: error: class, interface, or enum expected final bool debug = boolPar debug(optParams, true); ^ /root/JavaX-Caches/tmp_1616219066/main.java:15: error: class, interface, or enum expected tree.addTreeWillExpandListener(new TreeWillExpandListener { ^ /root/JavaX-Caches/tmp_1616219066/main.java:16: error: class, interface, or enum expected public void treeWillCollapse(TreeExpansionEvent e) {} ^ /root/JavaX-Caches/tmp_1616219066/main.java:17: error: class, interface, or enum expected public void treeWillExpand(TreeExpansionEvent e) { ^ /root/JavaX-Caches/tmp_1616219066/main.java:19: error: class, interface, or enum expected final DefaultMutableTreeNode node = cast e.getPath().getLastPathComponent(); ^ /root/JavaX-Caches/tmp_1616219066/main.java:20: error: class, interface, or enum expected if (keepChildrenOnCollapse && !jDynamicTree_isInDummyState(node)) ret; ^ /root/JavaX-Caches/tmp_1616219066/main.java:22: error: class, interface, or enum expected queue.add(r { ^ /root/JavaX-Caches/tmp_1616219066/main.java:24: error: class, interface, or enum expected B raw = callF(makeChildren, (A) node.getUserObject()); ^ /root/JavaX-Caches/tmp_1616219066/main.java:25: error: class, interface, or enum expected print("raw => " + className(raw)); ^ /root/JavaX-Caches/tmp_1616219066/main.java:26: error: class, interface, or enum expected fL<A> l = asList(raw); ^ /root/JavaX-Caches/tmp_1616219066/main.java:27: error: class, interface, or enum expected if (debug) print("Have children: " + l(l)); ^ /root/JavaX-Caches/tmp_1616219066/main.java:28: error: class, interface, or enum expected swing { ^ /root/JavaX-Caches/tmp_1616219066/main.java:31: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1616219066/main.java:33: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1616219066/main.java:36: error: class, interface, or enum expected ret tree; ^ /root/JavaX-Caches/tmp_1616219066/main.java:37: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_1616219066/main.java:38: error: class, interface, or enum expected } ^ 28 errors