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

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

/root/JavaX-Caches/tmp_37202790/main.java:1: error: class, interface, or enum expected static L<S> switcheroo_themap = ll( ^ /root/JavaX-Caches/tmp_37202790/main.java:12: error: class, interface, or enum expected static S switcheroo(S s) { ^ /root/JavaX-Caches/tmp_37202790/main.java:14: error: class, interface, or enum expected for (int i = 1; i < l(tok); i += 2) { ^ /root/JavaX-Caches/tmp_37202790/main.java:14: error: class, interface, or enum expected for (int i = 1; i < l(tok); i += 2) { ^ /root/JavaX-Caches/tmp_37202790/main.java:14: error: class, interface, or enum expected for (int i = 1; i < l(tok); i += 2) { ^ /root/JavaX-Caches/tmp_37202790/main.java:15: error: class, interface, or enum expected for (int j = 0; j < l(switcheroo_themap); j += 2) { ^ /root/JavaX-Caches/tmp_37202790/main.java:15: error: class, interface, or enum expected for (int j = 0; j < l(switcheroo_themap); j += 2) { ^ /root/JavaX-Caches/tmp_37202790/main.java:17: error: class, interface, or enum expected L<S> tokx = nlTok5(x), toky = nlTok5(y); ^ /root/JavaX-Caches/tmp_37202790/main.java:18: error: class, interface, or enum expected switcheroo_matchReplace(tok, i, tokx, toky); ^ /root/JavaX-Caches/tmp_37202790/main.java:19: error: class, interface, or enum expected switcheroo_matchReplace(tok, i, toky, tokx); ^ /root/JavaX-Caches/tmp_37202790/main.java:20: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_37202790/main.java:23: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_37202790/main.java:27: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_37202790/main.java:33: error: class, interface, or enum expected for (int j = 0; j*2+1 < l(tokx); j++) ^ /root/JavaX-Caches/tmp_37202790/main.java:33: error: class, interface, or enum expected for (int j = 0; j*2+1 < l(tokx); j++) ^ /root/JavaX-Caches/tmp_37202790/main.java:35: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_37202790/main.java:39: error: class, interface, or enum expected for (int j = 0; j*2+1 < l(tokx); j++) ^ /root/JavaX-Caches/tmp_37202790/main.java:39: error: class, interface, or enum expected for (int j = 0; j*2+1 < l(tokx); j++) ^ /root/JavaX-Caches/tmp_37202790/main.java:42: error: class, interface, or enum expected ret true; ^ /root/JavaX-Caches/tmp_37202790/main.java:43: error: class, interface, or enum expected } ^ 20 errors