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

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

/root/JavaX-Caches/tmp_1260523480/main.java:1: error: class, interface, or enum expected static S jreplace_first(S s, S in, S out) { ^ /root/JavaX-Caches/tmp_1260523480/main.java:3: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1260523480/main.java:7: error: class, interface, or enum expected ret jreplace_first(tok, in, out, false, false, condition) ? join(tok) : s; ^ /root/JavaX-Caches/tmp_1260523480/main.java:8: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1260523480/main.java:14: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1260523480/main.java:18: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1260523480/main.java:22: error: class, interface, or enum expected jfind_preprocess(tokin); ^ /root/JavaX-Caches/tmp_1260523480/main.java:24: error: class, interface, or enum expected boolean anyChange = false; ^ /root/JavaX-Caches/tmp_1260523480/main.java:25: error: class, interface, or enum expected int i = 1; ^ /root/JavaX-Caches/tmp_1260523480/main.java:26: error: class, interface, or enum expected if ((i = findCodeTokens(tok, i, ignoreCase, toStringArray(codeTokensOnly(tokin)), condition)) >= 0) { ^ /root/JavaX-Caches/tmp_1260523480/main.java:28: error: class, interface, or enum expected S expansion = jreplaceExpandRefs(out, subList); ^ /root/JavaX-Caches/tmp_1260523480/main.java:29: error: class, interface, or enum expected int end = i+l(tokin)-2; ^ /root/JavaX-Caches/tmp_1260523480/main.java:30: error: class, interface, or enum expected clearAllTokens(tok, i, end); // C to C ^ /root/JavaX-Caches/tmp_1260523480/main.java:31: error: class, interface, or enum expected tok.set(i, expansion); ^ /root/JavaX-Caches/tmp_1260523480/main.java:32: error: class, interface, or enum expected if (reTok) ^ /root/JavaX-Caches/tmp_1260523480/main.java:34: error: class, interface, or enum expected anyChange = true; ^ /root/JavaX-Caches/tmp_1260523480/main.java:35: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1260523480/main.java:37: error: class, interface, or enum expected } ^ 18 errors