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

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

/root/JavaX-Caches/tmp_72143164/main.java:1: error: class, interface, or enum expected sclass WebNode implements _SetField { ^ /root/JavaX-Caches/tmp_72143164/main.java:3: error: class, interface, or enum expected new L<Lisp> labels; ^ /root/JavaX-Caches/tmp_72143164/main.java:4: error: class, interface, or enum expected O visInfo; // visualisation info ^ /root/JavaX-Caches/tmp_72143164/main.java:6: error: class, interface, or enum expected public void _setField(S f, O x) { ^ /root/JavaX-Caches/tmp_72143164/main.java:7: error: unclosed character literal if (f.equals('web)) web = (Web) x; ^ /root/JavaX-Caches/tmp_72143164/main.java:8: error: class, interface, or enum expected else if (f.equals('labels)) labels = (L) x; ^ /root/JavaX-Caches/tmp_72143164/main.java:8: error: unclosed character literal else if (f.equals('labels)) labels = (L) x; ^ /root/JavaX-Caches/tmp_72143164/main.java:9: error: class, interface, or enum expected else if (f.equals('visInfo)) visInfo = x; ^ /root/JavaX-Caches/tmp_72143164/main.java:9: error: unclosed character literal else if (f.equals('visInfo)) visInfo = x; ^ /root/JavaX-Caches/tmp_72143164/main.java:10: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_72143164/main.java:13: error: class, interface, or enum expected *(Web *web) { web.fireNewNode(this); } ^ /root/JavaX-Caches/tmp_72143164/main.java:15: error: class, interface, or enum expected void addLabel(S label) { addLabel(web.parseLabel(label)); } ^ /root/JavaX-Caches/tmp_72143164/main.java:20: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_72143164/main.java:22: error: class, interface, or enum expected void addLabels(Collection<Lisp> l) { for (Lisp lbl : l) addLabel(lbl); } ^ /root/JavaX-Caches/tmp_72143164/main.java:23: error: class, interface, or enum expected void addStrings(Collection<S> l) { for (S lbl : l) addLabel(lbl); } ^ /root/JavaX-Caches/tmp_72143164/main.java:25: error: class, interface, or enum expected bool hasLabel(Lisp label) { ret labels.contains(label); } ^ /root/JavaX-Caches/tmp_72143164/main.java:26: error: class, interface, or enum expected bool hasLabel(S label) { ret labels.contains(web.parseLabel(label)); } ^ /root/JavaX-Caches/tmp_72143164/main.java:28: error: class, interface, or enum expected toString { ret l(labels) == 1 ? str(first(labels)) : str(labels); } ^ /root/JavaX-Caches/tmp_72143164/main.java:30: error: class, interface, or enum expected int count() { ret 1 + l(labels); } ^ /root/JavaX-Caches/tmp_72143164/main.java:31: error: class, interface, or enum expected S text() { ret web.unparseLabel(first(labels)); } ^ /root/JavaX-Caches/tmp_72143164/main.java:32: error: class, interface, or enum expected L<S> texts() { ret web.unparseLabels(labels); } ^ /root/JavaX-Caches/tmp_72143164/main.java:36: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_72143164/main.java:38: error: class, interface, or enum expected Lisp parseLabel(S l) { ret web.parseLabel(l); } ^ /root/JavaX-Caches/tmp_72143164/main.java:39: error: class, interface, or enum expected S unparseLabel(Lisp l) { ret web.unparseLabel(l); } ^ /root/JavaX-Caches/tmp_72143164/main.java:41: error: class, interface, or enum expected L<Lisp> labels() { ret labels; } ^ /root/JavaX-Caches/tmp_72143164/main.java:42: error: class, interface, or enum expected bool hasLabels() { ret nempty(labels); } ^ /root/JavaX-Caches/tmp_72143164/main.java:43: error: class, interface, or enum expected void setLabel(int i, Lisp l) { labels.set(i, l); } ^ /root/JavaX-Caches/tmp_72143164/main.java:45: error: class, interface, or enum expected O visInfo() { ret visInfo; } ^ /root/JavaX-Caches/tmp_72143164/main.java:46: error: class, interface, or enum expected void visInfo(O o) { visInfo = o; } ^ 29 errors