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

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

/root/JavaX-Caches/tmp_1479214649/main.java:1: error: class, interface, or enum expected sclass WebNode { ^ /root/JavaX-Caches/tmp_1479214649/main.java:3: error: class, interface, or enum expected new L<S> labels; ^ /root/JavaX-Caches/tmp_1479214649/main.java:5: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_1479214649/main.java:6: error: class, interface, or enum expected *(Web *web) { web.fireNewNode(this); } ^ /root/JavaX-Caches/tmp_1479214649/main.java:11: error: class, interface, or enum expected ++web.size; ^ /root/JavaX-Caches/tmp_1479214649/main.java:12: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1479214649/main.java:15: error: class, interface, or enum expected bool hasLabel(S label) { ret labels.contains(label); } ^ /root/JavaX-Caches/tmp_1479214649/main.java:17: error: class, interface, or enum expected toString { ret str(labels); } ^ /root/JavaX-Caches/tmp_1479214649/main.java:19: error: class, interface, or enum expected int count() { ret 1 + l(labels); } ^ /root/JavaX-Caches/tmp_1479214649/main.java:24: error: class, interface, or enum expected Map<Pair<WebNode>, WebNode> relations = new HashMap; ^ /root/JavaX-Caches/tmp_1479214649/main.java:25: error: class, interface, or enum expected new MultiMap<S, WebNode> index; // label -> node ^ /root/JavaX-Caches/tmp_1479214649/main.java:26: error: class, interface, or enum expected Map<S, L<WebNode>> pots = new Map; ^ /root/JavaX-Caches/tmp_1479214649/main.java:27: error: class, interface, or enum expected transient Lock lock = reentrantLock(true); ^ /root/JavaX-Caches/tmp_1479214649/main.java:28: error: class, interface, or enum expected int size; ^ /root/JavaX-Caches/tmp_1479214649/main.java:29: error: class, interface, or enum expected static new L onNewNode; // L<voidfunc(WebNode)> ^ /root/JavaX-Caches/tmp_1479214649/main.java:30: error: class, interface, or enum expected static new L onNewLabel; // L<voidfunc(WebNode, S)> ^ /root/JavaX-Caches/tmp_1479214649/main.java:32: error: class, interface, or enum expected bool potNotEmpty(S pot) { ret nempty(getPot(pot)); } ^ /root/JavaX-Caches/tmp_1479214649/main.java:32: error: class, interface, or enum expected bool potNotEmpty(S pot) { ret nempty(getPot(pot)); } ^ /root/JavaX-Caches/tmp_1479214649/main.java:36: error: class, interface, or enum expected L<WebNode> l2 = cloneList(l); ^ /root/JavaX-Caches/tmp_1479214649/main.java:37: error: class, interface, or enum expected l.clear(); ^ /root/JavaX-Caches/tmp_1479214649/main.java:38: error: class, interface, or enum expected ret l2; ^ /root/JavaX-Caches/tmp_1479214649/main.java:39: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1479214649/main.java:43: error: class, interface, or enum expected if (l == null) ^ /root/JavaX-Caches/tmp_1479214649/main.java:45: error: class, interface, or enum expected ret l; ^ /root/JavaX-Caches/tmp_1479214649/main.java:46: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1479214649/main.java:50: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1479214649/main.java:54: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1479214649/main.java:58: error: class, interface, or enum expected WebNode r = relations.get(p); ^ /root/JavaX-Caches/tmp_1479214649/main.java:59: error: class, interface, or enum expected if (r == null) relations.put(p, r = newNode()); ^ /root/JavaX-Caches/tmp_1479214649/main.java:60: error: class, interface, or enum expected ret r; ^ /root/JavaX-Caches/tmp_1479214649/main.java:61: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1479214649/main.java:65: error: class, interface, or enum expected nodes.add(node); ++size; ^ /root/JavaX-Caches/tmp_1479214649/main.java:65: error: class, interface, or enum expected nodes.add(node); ++size; ^ /root/JavaX-Caches/tmp_1479214649/main.java:66: error: class, interface, or enum expected for (L<WebNode> l : values(pots)) l.add(node); ^ /root/JavaX-Caches/tmp_1479214649/main.java:67: error: class, interface, or enum expected ret node; ^ /root/JavaX-Caches/tmp_1479214649/main.java:68: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1479214649/main.java:70: error: class, interface, or enum expected WebNode node(S s) { ret findNode(s); } ^ /root/JavaX-Caches/tmp_1479214649/main.java:74: error: class, interface, or enum expected ret n != null ? n : newNode(s); ^ /root/JavaX-Caches/tmp_1479214649/main.java:75: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1479214649/main.java:79: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1479214649/main.java:83: error: class, interface, or enum expected for (S label : labels) n.addLabel(label); ^ /root/JavaX-Caches/tmp_1479214649/main.java:84: error: class, interface, or enum expected ret n; ^ /root/JavaX-Caches/tmp_1479214649/main.java:85: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1479214649/main.java:87: error: class, interface, or enum expected toString { ret webToString(this); } ^ /root/JavaX-Caches/tmp_1479214649/main.java:95: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1479214649/main.java:99: error: class, interface, or enum expected fireNewLabel(n, label); ^ /root/JavaX-Caches/tmp_1479214649/main.java:100: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1479214649/main.java:104: error: class, interface, or enum expected clearAll(nodes, relations, index, pots); ^ /root/JavaX-Caches/tmp_1479214649/main.java:105: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1479214649/main.java:107: error: class, interface, or enum expected void fireNewNode(WebNode node) { for (O f : onNewNode) pcallF(f, node); } ^ /root/JavaX-Caches/tmp_1479214649/main.java:108: error: class, interface, or enum expected void fireNewLabel(WebNode node, S label) { for (O f : onNewLabel) pcallF(f, node, label); } ^ 51 errors