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

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

/root/JavaX-Caches/tmp_1804377403/main.java:5: error: class, interface, or enum expected svoid tok_eventInterfaces(LS tok) { ^ /root/JavaX-Caches/tmp_1804377403/main.java:8: error: class, interface, or enum expected while ((i = jfind(tok, "transient event interface <id> as <id> shipping <id>;")) >= 0) { ^ /root/JavaX-Caches/tmp_1804377403/main.java:10: error: class, interface, or enum expected i += 2; ^ /root/JavaX-Caches/tmp_1804377403/main.java:11: error: class, interface, or enum expected int iSemicolon = indexOf(tok, iStart, ";"); ^ /root/JavaX-Caches/tmp_1804377403/main.java:12: error: class, interface, or enum expected S listenerType = get(tok, i+4); ^ /root/JavaX-Caches/tmp_1804377403/main.java:13: error: class, interface, or enum expected S method = get(tok, i+8); ^ /root/JavaX-Caches/tmp_1804377403/main.java:14: error: class, interface, or enum expected S eventType = get(tok, i+12); ^ /root/JavaX-Caches/tmp_1804377403/main.java:16: error: class, interface, or enum expected replaceTokens_reTok(tok, iStart, iSemicolon+1, ^ /root/JavaX-Caches/tmp_1804377403/main.java:22: error: class, interface, or enum expected transient L<$Listener> $listeners; ^ /root/JavaX-Caches/tmp_1804377403/main.java:23: error: class, interface, or enum expected synchronized selfType $add($Listener l) { $listeners = addOrCreate($listeners, l); this; } ^ /root/JavaX-Caches/tmp_1804377403/main.java:23: error: class, interface, or enum expected synchronized selfType $add($Listener l) { $listeners = addOrCreate($listeners, l); this; } ^ /root/JavaX-Caches/tmp_1804377403/main.java:23: error: class, interface, or enum expected synchronized selfType $add($Listener l) { $listeners = addOrCreate($listeners, l); this; } ^ /root/JavaX-Caches/tmp_1804377403/main.java:24: error: class, interface, or enum expected synchronized Cl<$Listener> $listeners() { ret cloneList($listeners); } ^ /root/JavaX-Caches/tmp_1804377403/main.java:25: error: class, interface, or enum expected void $method($Event event) { for (l : $listeners()) pcall { l?.$method(event); } } ^ /root/JavaX-Caches/tmp_1804377403/main.java:34: error: class, interface, or enum expected } ^ 15 errors