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

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

/root/JavaX-Caches/tmp_680509039/main.java:1: error: class, interface, or enum expected !include once #1007377 // Traits for CAL ^ /root/JavaX-Caches/tmp_680509039/main.java:1: error: illegal character: '#' !include once #1007377 // Traits for CAL ^ /root/JavaX-Caches/tmp_680509039/main.java:5: error: illegal character: '#' !include once #1010264 // x and y for WebNode ^ /root/JavaX-Caches/tmp_680509039/main.java:9: error: class, interface, or enum expected BufferedImage img = newBufferedImage(20, 20, Color.white); ^ /root/JavaX-Caches/tmp_680509039/main.java:10: error: class, interface, or enum expected new CirclesAndLines cal; ^ /root/JavaX-Caches/tmp_680509039/main.java:11: error: class, interface, or enum expected new Map<WebNode, Circle> map; ^ /root/JavaX-Caches/tmp_680509039/main.java:14: error: class, interface, or enum expected S makeLabel(Lisp lisp) { ^ /root/JavaX-Caches/tmp_680509039/main.java:17: error: class, interface, or enum expected endifndef ^ /root/JavaX-Caches/tmp_680509039/main.java:19: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_680509039/main.java:21: error: class, interface, or enum expected void convert(final Web web) { ^ /root/JavaX-Caches/tmp_680509039/main.java:23: error: class, interface, or enum expected cal.title = web.title; ^ /root/JavaX-Caches/tmp_680509039/main.java:25: error: class, interface, or enum expected L<WebNode> nodes = web.nodes; ^ /root/JavaX-Caches/tmp_680509039/main.java:26: error: class, interface, or enum expected nodes = listMinusSet(nodes, web_relationObjects(web)); ^ /root/JavaX-Caches/tmp_680509039/main.java:27: error: class, interface, or enum expected for (WebNode node : nodes) { ^ /root/JavaX-Caches/tmp_680509039/main.java:29: error: class, interface, or enum expected if (x == 0 && y == 0) { ^ /root/JavaX-Caches/tmp_680509039/main.java:31: error: class, interface, or enum expected y = cal_randomCircleCoord(); ^ /root/JavaX-Caches/tmp_680509039/main.java:32: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_680509039/main.java:36: error: class, interface, or enum expected S quickvis = null; ^ /root/JavaX-Caches/tmp_680509039/main.java:37: error: class, interface, or enum expected if (node.visInfo() instanceof S) quickvis = (S) node.visInfo(); ^ /root/JavaX-Caches/tmp_680509039/main.java:38: error: class, interface, or enum expected if (empty(quickvis)) quickvis = webToCAL_visMap.get(text); ^ /root/JavaX-Caches/tmp_680509039/main.java:40: error: class, interface, or enum expected Circle c; ^ /root/JavaX-Caches/tmp_680509039/main.java:41: error: class, interface, or enum expected if (nempty(quickvis)) ^ /root/JavaX-Caches/tmp_680509039/main.java:43: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_680509039/main.java:45: error: class, interface, or enum expected map.put(node, c); ^ /root/JavaX-Caches/tmp_680509039/main.java:46: error: class, interface, or enum expected for (Lisp l : dropFirst(node.labels())) ^ /root/JavaX-Caches/tmp_680509039/main.java:48: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_680509039/main.java:52: error: class, interface, or enum expected if (empty(rel.labels())) continue; ^ /root/JavaX-Caches/tmp_680509039/main.java:53: error: class, interface, or enum expected Circle a = map.get(p.a), b = map.get(p.b); ^ /root/JavaX-Caches/tmp_680509039/main.java:54: error: class, interface, or enum expected if (a == null || b == null) { ^ /root/JavaX-Caches/tmp_680509039/main.java:56: error: class, interface, or enum expected continue; ^ /root/JavaX-Caches/tmp_680509039/main.java:57: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_680509039/main.java:62: error: class, interface, or enum expected Line line = cal.arrow(a, makeLabel(first(rel.labels())), b); ^ /root/JavaX-Caches/tmp_680509039/main.java:63: error: class, interface, or enum expected for (Lisp l : dropFirst(rel.labels())) ^ /root/JavaX-Caches/tmp_680509039/main.java:65: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_680509039/main.java:69: error: class, interface, or enum expected }; ^ /root/JavaX-Caches/tmp_680509039/main.java:71: error: class, interface, or enum expected cal.onDeleteCircle = voidfunc(Circle c) { ^ /root/JavaX-Caches/tmp_680509039/main.java:73: error: class, interface, or enum expected }; ^ /root/JavaX-Caches/tmp_680509039/main.java:75: error: class, interface, or enum expected cal.onDeleteLine = voidfunc(Line l) { ^ /root/JavaX-Caches/tmp_680509039/main.java:77: error: class, interface, or enum expected }; ^ /root/JavaX-Caches/tmp_680509039/main.java:79: error: class, interface, or enum expected cal.onUserMadeArrow = voidfunc(Arrow a) { ^ /root/JavaX-Caches/tmp_680509039/main.java:81: error: class, interface, or enum expected }; ^ /root/JavaX-Caches/tmp_680509039/main.java:83: error: class, interface, or enum expected cal.onLayoutChange = voidfunc(Circle c) { ^ /root/JavaX-Caches/tmp_680509039/main.java:86: error: class, interface, or enum expected updateLayout(node); ^ /root/JavaX-Caches/tmp_680509039/main.java:87: error: class, interface, or enum expected }; ^ /root/JavaX-Caches/tmp_680509039/main.java:89: error: class, interface, or enum expected cal.onFullLayoutChange = r { ^ /root/JavaX-Caches/tmp_680509039/main.java:93: error: class, interface, or enum expected }; ^ /root/JavaX-Caches/tmp_680509039/main.java:94: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_680509039/main.java:98: error: class, interface, or enum expected Circle c = map.get(node); ^ /root/JavaX-Caches/tmp_680509039/main.java:99: error: class, interface, or enum expected if (c == null) ret; ^ /root/JavaX-Caches/tmp_680509039/main.java:100: error: class, interface, or enum expected node.x = c.x; ^ /root/JavaX-Caches/tmp_680509039/main.java:101: error: class, interface, or enum expected node.y = c.y; // TODO: persist? ^ /root/JavaX-Caches/tmp_680509039/main.java:102: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_680509039/main.java:107: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_680509039/main.java:111: error: class, interface, or enum expected wtc.convert(web); ^ /root/JavaX-Caches/tmp_680509039/main.java:112: error: class, interface, or enum expected ret wtc.cal; ^ /root/JavaX-Caches/tmp_680509039/main.java:113: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_680509039/main.java:117: error: class, interface, or enum expected canvas.update(); ^ /root/JavaX-Caches/tmp_680509039/main.java:118: error: class, interface, or enum expected } ^ 58 errors