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

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

/root/JavaX-Caches/tmp_1849471426/main.java:3: error: class, interface, or enum expected static <A, B extends Cl<A>> JTree jDynamicTree(A root, IF1<A, B> makeChildren, O... _) { ^ /root/JavaX-Caches/tmp_1849471426/main.java:5: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1849471426/main.java:7: error: class, interface, or enum expected static <A, B extends Cl<A>> JTree jDynamicTree(final A root, final F1<A, B> makeChildren, fO... _) { ^ /root/JavaX-Caches/tmp_1849471426/main.java:7: error: class, interface, or enum expected static <A, B extends Cl<A>> JTree jDynamicTree(final A root, final F1<A, B> makeChildren, fO... _) { ^ /root/JavaX-Caches/tmp_1849471426/main.java:10: error: class, interface, or enum expected optPar IF1 unwrapNode; ^ /root/JavaX-Caches/tmp_1849471426/main.java:12: error: class, interface, or enum expected ret swing(func -> JTree { ^ /root/JavaX-Caches/tmp_1849471426/main.java:14: error: class, interface, or enum expected rootNode.add(new DefaultMutableTreeNode(jDynamicTree_dummy())); ^ /root/JavaX-Caches/tmp_1849471426/main.java:15: error: class, interface, or enum expected final JTree tree = new JTree(rootNode); ^ /root/JavaX-Caches/tmp_1849471426/main.java:16: error: class, interface, or enum expected tree.setShowsRootHandles(true); ^ /root/JavaX-Caches/tmp_1849471426/main.java:17: error: class, interface, or enum expected tree.collapseRow(0); ^ /root/JavaX-Caches/tmp_1849471426/main.java:18: error: class, interface, or enum expected final bool keepChildrenOnCollapse = optParam(_, 'keepChildrenOnCollapse, false); ^ /root/JavaX-Caches/tmp_1849471426/main.java:18: error: unclosed character literal final bool keepChildrenOnCollapse = optParam(_, 'keepChildrenOnCollapse, false); ^ /root/JavaX-Caches/tmp_1849471426/main.java:19: error: class, interface, or enum expected bool makeChildrenIsFast = boolParam makeChildrenIsFast(_) || makeChildren == null; ^ /root/JavaX-Caches/tmp_1849471426/main.java:20: error: class, interface, or enum expected bool debug = boolPar debug(_); ^ /root/JavaX-Caches/tmp_1849471426/main.java:24: error: not a statement public void treeWillExpand(TreeExpansionEvent e) { pcall { ^ /root/JavaX-Caches/tmp_1849471426/main.java:24: error: ';' expected public void treeWillExpand(TreeExpansionEvent e) { pcall { ^ /root/JavaX-Caches/tmp_1849471426/main.java:26: error: ';' expected DefaultMutableTreeNode node = cast e.getPath().getLastPathComponent(); ^ /root/JavaX-Caches/tmp_1849471426/main.java:36: error: class, interface, or enum expected tree.addTreeWillExpandListener(new jDynamicTree_Listener); ^ /root/JavaX-Caches/tmp_1849471426/main.java:38: error: class, interface, or enum expected ret tree; ^ /root/JavaX-Caches/tmp_1849471426/main.java:39: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_1849471426/main.java:40: error: class, interface, or enum expected } ^ 21 errors