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

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

/root/JavaX-Caches/tmp_1457704817/main.java:16: error: class, interface, or enum expected svoid tok_swapFunctions(LS tok) { ^ /root/JavaX-Caches/tmp_1457704817/main.java:18: error: class, interface, or enum expected while ((i = jfind(tok, "swap method <id>.<id>(")) >= 0) { ^ /root/JavaX-Caches/tmp_1457704817/main.java:20: error: class, interface, or enum expected S methodName = tok.get(i+8); ^ /root/JavaX-Caches/tmp_1457704817/main.java:21: error: class, interface, or enum expected int iOpening = i+10; ^ /root/JavaX-Caches/tmp_1457704817/main.java:22: error: class, interface, or enum expected int iClosing = indexOf(tok, i, ")"); ^ /root/JavaX-Caches/tmp_1457704817/main.java:23: error: class, interface, or enum expected S args = joinSubList(tok, iOpening+2, iClosing-1); ^ /root/JavaX-Caches/tmp_1457704817/main.java:24: error: class, interface, or enum expected int iOpeningCurly = iClosing+2; ^ /root/JavaX-Caches/tmp_1457704817/main.java:25: error: class, interface, or enum expected if (eqGet(tok, iOpeningCurly, "to")) iOpeningCurly += 2; ^ /root/JavaX-Caches/tmp_1457704817/main.java:26: error: class, interface, or enum expected assertEquals(get(tok, iOpeningCurly), "{"); ^ /root/JavaX-Caches/tmp_1457704817/main.java:27: error: class, interface, or enum expected int iClosingCurly = tok_findEndOfBlock(tok, iOpeningCurly)-1; ^ /root/JavaX-Caches/tmp_1457704817/main.java:29: error: class, interface, or enum expected S add_old = makeVar(); ^ /root/JavaX-Caches/tmp_1457704817/main.java:31: error: class, interface, or enum expected LS tokBody = cloneList(cncSubList(tok, iOpeningCurly+1, iClosingCurly)); ^ /root/JavaX-Caches/tmp_1457704817/main.java:32: error: class, interface, or enum expected bool needsSuper = jreplace_dyn(tokBody, "super", ^ /root/JavaX-Caches/tmp_1457704817/main.java:34: error: illegal escape character -> "\*obj*/.\*methodName*/_fallback(\*add_old*/, \*args*/)"); ^ /root/JavaX-Caches/tmp_1457704817/main.java:34: error: illegal escape character -> "\*obj*/.\*methodName*/_fallback(\*add_old*/, \*args*/)"); ^ /root/JavaX-Caches/tmp_1457704817/main.java:34: error: illegal escape character -> "\*obj*/.\*methodName*/_fallback(\*add_old*/, \*args*/)"); ^ /root/JavaX-Caches/tmp_1457704817/main.java:34: error: illegal escape character -> "\*obj*/.\*methodName*/_fallback(\*add_old*/, \*args*/)"); ^ /root/JavaX-Caches/tmp_1457704817/main.java:36: error: class, interface, or enum expected S assignment = ^ /root/JavaX-Caches/tmp_1457704817/main.java:37: error: illegal escape character "\*obj*/.\*methodName*/ = (\*args*/) -> { " + join(tokBody) + "};"; ^ /root/JavaX-Caches/tmp_1457704817/main.java:37: error: illegal escape character "\*obj*/.\*methodName*/ = (\*args*/) -> { " + join(tokBody) + "};"; ^ /root/JavaX-Caches/tmp_1457704817/main.java:37: error: illegal escape character "\*obj*/.\*methodName*/ = (\*args*/) -> { " + join(tokBody) + "};"; ^ /root/JavaX-Caches/tmp_1457704817/main.java:39: error: class, interface, or enum expected S src = needsSuper ? ^ /root/JavaX-Caches/tmp_1457704817/main.java:40: error: illegal escape character "{ var \*add_old*/ = \*obj*/.\*methodName*/; \n" ^ /root/JavaX-Caches/tmp_1457704817/main.java:40: error: illegal escape character "{ var \*add_old*/ = \*obj*/.\*methodName*/; \n" ^ /root/JavaX-Caches/tmp_1457704817/main.java:40: error: illegal escape character "{ var \*add_old*/ = \*obj*/.\*methodName*/; \n" ^ /root/JavaX-Caches/tmp_1457704817/main.java:44: error: class, interface, or enum expected replaceTokens_reTok(tok, i, iClosingCurly+1, src); ^ /root/JavaX-Caches/tmp_1457704817/main.java:45: error: class, interface, or enum expected } ^ 27 errors