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

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

/root/JavaX-Caches/tmp_1930999687/main.java:1: error: class, interface, or enum expected sbool translateUsingWordTreeC_debug; ^ /root/JavaX-Caches/tmp_1930999687/main.java:2: error: class, interface, or enum expected sbool translateUsingWordTreeC_printReplacements; ^ /root/JavaX-Caches/tmp_1930999687/main.java:4: error: class, interface, or enum expected static L<S> translateUsingWordTreeC(L<S> tok, Map<S, O> tree) { ^ /root/JavaX-Caches/tmp_1930999687/main.java:5: error: class, interface, or enum expected for (int i = 0; i < l(tok); ) ^ /root/JavaX-Caches/tmp_1930999687/main.java:5: error: class, interface, or enum expected for (int i = 0; i < l(tok); ) ^ /root/JavaX-Caches/tmp_1930999687/main.java:7: error: class, interface, or enum expected ret tok; ^ /root/JavaX-Caches/tmp_1930999687/main.java:8: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1930999687/main.java:14: error: class, interface, or enum expected S best = null; // best replacement found ^ /root/JavaX-Caches/tmp_1930999687/main.java:15: error: class, interface, or enum expected int bestIndex = 0; // till where to replace ^ /root/JavaX-Caches/tmp_1930999687/main.java:17: error: class, interface, or enum expected while true { ^ /root/JavaX-Caches/tmp_1930999687/main.java:20: error: class, interface, or enum expected if (def != null) { ^ /root/JavaX-Caches/tmp_1930999687/main.java:21: error: class, interface, or enum expected best = def; bestIndex = j; ^ /root/JavaX-Caches/tmp_1930999687/main.java:23: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1930999687/main.java:28: error: class, interface, or enum expected O t = tree.get(tok.get(j)); ^ /root/JavaX-Caches/tmp_1930999687/main.java:29: error: class, interface, or enum expected if (translateUsingWordTreeC_debug) ^ /root/JavaX-Caches/tmp_1930999687/main.java:31: error: class, interface, or enum expected if (t == null) break; ^ /root/JavaX-Caches/tmp_1930999687/main.java:32: error: class, interface, or enum expected if (t instanceof S) { ^ /root/JavaX-Caches/tmp_1930999687/main.java:34: error: class, interface, or enum expected if (translateUsingWordTreeC_printReplacements) ^ /root/JavaX-Caches/tmp_1930999687/main.java:36: error: class, interface, or enum expected replaceTokens(tok, i, k, (S) t); ^ /root/JavaX-Caches/tmp_1930999687/main.java:37: error: class, interface, or enum expected ret k; ^ /root/JavaX-Caches/tmp_1930999687/main.java:38: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1930999687/main.java:40: error: class, interface, or enum expected j++; ^ /root/JavaX-Caches/tmp_1930999687/main.java:41: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1930999687/main.java:45: error: class, interface, or enum expected if (translateUsingWordTreeC_printReplacements) ^ /root/JavaX-Caches/tmp_1930999687/main.java:47: error: class, interface, or enum expected replaceTokens(tok, i, k, best); ^ /root/JavaX-Caches/tmp_1930999687/main.java:48: error: class, interface, or enum expected ret k; ^ /root/JavaX-Caches/tmp_1930999687/main.java:49: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1930999687/main.java:51: error: class, interface, or enum expected } ^ 28 errors