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

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

/root/JavaX-Caches/tmp_404189427/main.java:2: error: class, interface, or enum expected static L<L<S>> allVariableDeclarations(L<S> tok) { ^ /root/JavaX-Caches/tmp_404189427/main.java:4: error: class, interface, or enum expected int i = 1; ^ /root/JavaX-Caches/tmp_404189427/main.java:5: error: class, interface, or enum expected while (!tok.get(i).equals("{")) i += 2; ^ /root/JavaX-Caches/tmp_404189427/main.java:6: error: class, interface, or enum expected i += 2; ^ /root/JavaX-Caches/tmp_404189427/main.java:10: error: class, interface, or enum expected while (i < tok.size() && !tok.get(i).equals("}")) { ^ /root/JavaX-Caches/tmp_404189427/main.java:14: error: class, interface, or enum expected L<S> special = litlist("=", "{", ";"); ^ /root/JavaX-Caches/tmp_404189427/main.java:15: error: class, interface, or enum expected while (j < tok.size() && !special.contains(tok.get(j))) ^ /root/JavaX-Caches/tmp_404189427/main.java:18: error: class, interface, or enum expected if (tok.get(j).equals("{")) ^ /root/JavaX-Caches/tmp_404189427/main.java:21: error: class, interface, or enum expected else { ^ /root/JavaX-Caches/tmp_404189427/main.java:25: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_404189427/main.java:27: error: class, interface, or enum expected l.add(tok.subList(i-1, j)); ^ /root/JavaX-Caches/tmp_404189427/main.java:28: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_404189427/main.java:31: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_404189427/main.java:33: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_404189427/main.java:41: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_404189427/main.java:43: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_404189427/main.java:45: error: class, interface, or enum expected } ^ 17 errors