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

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

/root/JavaX-Caches/tmp_2096955329/main.java:5: error: class, interface, or enum expected sclass AdaptiveIdentifierCompression { ^ /root/JavaX-Caches/tmp_2096955329/main.java:7: error: class, interface, or enum expected new MultiSet<S> tokenCount; ^ /root/JavaX-Caches/tmp_2096955329/main.java:8: error: class, interface, or enum expected new SS expansions; ^ /root/JavaX-Caches/tmp_2096955329/main.java:9: error: class, interface, or enum expected settable S escapeWord = "Z"; ^ /root/JavaX-Caches/tmp_2096955329/main.java:10: error: class, interface, or enum expected S codeAlphabet = lowerCaseAlphabet(); ^ /root/JavaX-Caches/tmp_2096955329/main.java:11: error: class, interface, or enum expected ItIt<S> newCodeMaker; ^ /root/JavaX-Caches/tmp_2096955329/main.java:12: error: class, interface, or enum expected S nextCode; ^ /root/JavaX-Caches/tmp_2096955329/main.java:13: error: class, interface, or enum expected settable int minCountToCompress = 1; ^ /root/JavaX-Caches/tmp_2096955329/main.java:14: error: class, interface, or enum expected settable bool skipSameSizeShortenings = false; ^ /root/JavaX-Caches/tmp_2096955329/main.java:15: error: class, interface, or enum expected int escapeWordsUsed; ^ /root/JavaX-Caches/tmp_2096955329/main.java:17: error: class, interface, or enum expected void init { ^ /root/JavaX-Caches/tmp_2096955329/main.java:20: error: class, interface, or enum expected if (empty(newCode())) newCode(); ^ /root/JavaX-Caches/tmp_2096955329/main.java:21: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2096955329/main.java:27: error: class, interface, or enum expected init(); ^ /root/JavaX-Caches/tmp_2096955329/main.java:28: error: class, interface, or enum expected ret compressIdentifier(token); ^ /root/JavaX-Caches/tmp_2096955329/main.java:29: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2096955329/main.java:34: error: class, interface, or enum expected S code = shortenings.get(token); ^ /root/JavaX-Caches/tmp_2096955329/main.java:36: error: class, interface, or enum expected if (code != null) ^ /root/JavaX-Caches/tmp_2096955329/main.java:41: error: class, interface, or enum expected if (eq(token, escapeWord)) { ^ /root/JavaX-Caches/tmp_2096955329/main.java:44: error: class, interface, or enum expected ++escapeWordsUsed; ^ /root/JavaX-Caches/tmp_2096955329/main.java:45: error: class, interface, or enum expected ret escapeWord + " " + token; ^ /root/JavaX-Caches/tmp_2096955329/main.java:46: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2096955329/main.java:49: error: class, interface, or enum expected if (count < minCountToCompress) ^ /root/JavaX-Caches/tmp_2096955329/main.java:52: error: class, interface, or enum expected if (eq(token, nextCode)) { ^ /root/JavaX-Caches/tmp_2096955329/main.java:54: error: class, interface, or enum expected ++escapeWordsUsed; ^ /root/JavaX-Caches/tmp_2096955329/main.java:55: error: class, interface, or enum expected ret escapeWord + " " + token; ^ /root/JavaX-Caches/tmp_2096955329/main.java:56: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2096955329/main.java:62: error: class, interface, or enum expected if (existingMeaning != null) { ^ /root/JavaX-Caches/tmp_2096955329/main.java:68: error: class, interface, or enum expected ++escapeWordsUsed; ^ /root/JavaX-Caches/tmp_2096955329/main.java:69: error: class, interface, or enum expected ret escapeWord + " " + token; ^ /root/JavaX-Caches/tmp_2096955329/main.java:70: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2096955329/main.java:73: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2096955329/main.java:82: error: class, interface, or enum expected S code = nextCode; ^ /root/JavaX-Caches/tmp_2096955329/main.java:84: error: class, interface, or enum expected if (skipSameSizeShortenings && l(code) >= l(token)) { ^ /root/JavaX-Caches/tmp_2096955329/main.java:87: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2096955329/main.java:92: error: class, interface, or enum expected shortenings.put(token, code); ^ /root/JavaX-Caches/tmp_2096955329/main.java:93: error: class, interface, or enum expected expansions.put(code, token); ^ /root/JavaX-Caches/tmp_2096955329/main.java:96: error: class, interface, or enum expected ret token; ^ /root/JavaX-Caches/tmp_2096955329/main.java:97: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2096955329/main.java:103: error: class, interface, or enum expected nextCode = newCodeMaker.next(); ^ /root/JavaX-Caches/tmp_2096955329/main.java:104: error: class, interface, or enum expected } while (shortenings.containsKey(nextCode) || eq(nextCode, escapeWord)); ^ /root/JavaX-Caches/tmp_2096955329/main.java:106: error: class, interface, or enum expected ret nextCode; ^ /root/JavaX-Caches/tmp_2096955329/main.java:107: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2096955329/main.java:113: error: class, interface, or enum expected S decode(S token) { ^ /root/JavaX-Caches/tmp_2096955329/main.java:116: error: class, interface, or enum expected init(); ^ /root/JavaX-Caches/tmp_2096955329/main.java:118: error: class, interface, or enum expected if (escape) { ^ /root/JavaX-Caches/tmp_2096955329/main.java:120: error: class, interface, or enum expected ret decoded(token); ^ /root/JavaX-Caches/tmp_2096955329/main.java:121: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2096955329/main.java:125: error: class, interface, or enum expected ret ""; ^ /root/JavaX-Caches/tmp_2096955329/main.java:126: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2096955329/main.java:129: error: class, interface, or enum expected if (expanded != null) ^ /root/JavaX-Caches/tmp_2096955329/main.java:132: error: class, interface, or enum expected ret decoded(token); ^ /root/JavaX-Caches/tmp_2096955329/main.java:133: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2096955329/main.java:137: error: class, interface, or enum expected ret token; ^ /root/JavaX-Caches/tmp_2096955329/main.java:138: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2096955329/main.java:146: error: class, interface, or enum expected ret concatMapStrings encode(tok); ^ /root/JavaX-Caches/tmp_2096955329/main.java:147: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2096955329/main.java:151: error: class, interface, or enum expected ret concatMapStrings decode(tok); ^ /root/JavaX-Caches/tmp_2096955329/main.java:152: error: class, interface, or enum expected } ^ 59 errors