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

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

/root/JavaX-Caches/tmp_364055929/main.java:13: error: class, interface, or enum expected sclass CompressionSearch<A> extends Probabilistic { ^ /root/JavaX-Caches/tmp_364055929/main.java:17: error: class, interface, or enum expected settable L<Byte> inputData; ^ /root/JavaX-Caches/tmp_364055929/main.java:21: error: class, interface, or enum expected new Best<Submission> best; ^ /root/JavaX-Caches/tmp_364055929/main.java:23: error: class, interface, or enum expected *(CompressionRegime<A> *regime) {} ^ /root/JavaX-Caches/tmp_364055929/main.java:25: error: class, interface, or enum expected *(CompressionRegime<A> *regime, byte[] inputData) { this.inputData = byteArrayToList(inputData); } ^ /root/JavaX-Caches/tmp_364055929/main.java:28: error: class, interface, or enum expected Submission submit(A compression) { ret _submit(compression); } ^ /root/JavaX-Caches/tmp_364055929/main.java:33: error: <identifier> expected toString { ^ /root/JavaX-Caches/tmp_364055929/main.java:34: error: ';' expected ret linesLL( ^ /root/JavaX-Caches/tmp_364055929/main.java:35: error: not a statement "Compressor " + (correct() ? "correct" : "incorrect"), ^ /root/JavaX-Caches/tmp_364055929/main.java:35: error: ';' expected "Compressor " + (correct() ? "correct" : "incorrect"), ^ /root/JavaX-Caches/tmp_364055929/main.java:36: error: ';' expected "Compression factor " + score(), ^ /root/JavaX-Caches/tmp_364055929/main.java:38: error: ';' expected indentx(str(decompressor())), ^ /root/JavaX-Caches/tmp_364055929/main.java:40: error: ';' expected indentx(bytesToHex(compressed())) ^ /root/JavaX-Caches/tmp_364055929/main.java:49: error: ';' expected byte[] inputDataAsArray() { ret byteListToArray(inputData); } ^ /root/JavaX-Caches/tmp_364055929/main.java:49: error: not a statement byte[] inputDataAsArray() { ret byteListToArray(inputData); } ^ /root/JavaX-Caches/tmp_364055929/main.java:49: error: ';' expected byte[] inputDataAsArray() { ret byteListToArray(inputData); } ^ /root/JavaX-Caches/tmp_364055929/main.java:51: error: <identifier> expected simplyCached byte[] compressed() { ^ /root/JavaX-Caches/tmp_364055929/main.java:52: error: ';' expected ret decompressor_cache == null ?: regime.decompressorToBytes(decompressor_cache); ^ /root/JavaX-Caches/tmp_364055929/main.java:55: error: ';' expected simplyCached A decompressor() { ^ /root/JavaX-Caches/tmp_364055929/main.java:55: error: invalid method declaration; return type required simplyCached A decompressor() { ^ /root/JavaX-Caches/tmp_364055929/main.java:56: error: ';' expected ret compressed_cache == null ?: regime.decompressorFromBytes(compressed_cache); ^ /root/JavaX-Caches/tmp_364055929/main.java:59: error: ';' expected int compressedSize() { ret l(compressed()); } ^ /root/JavaX-Caches/tmp_364055929/main.java:59: error: ';' expected int compressedSize() { ret l(compressed()); } ^ /root/JavaX-Caches/tmp_364055929/main.java:61: error: <identifier> expected simplyCached double score() { ^ /root/JavaX-Caches/tmp_364055929/main.java:62: error: ';' expected ret doubleRatio(inputDataSize(), compressedSize()); ^ /root/JavaX-Caches/tmp_364055929/main.java:62: error: ';' expected ret doubleRatio(inputDataSize(), compressedSize()); ^ /root/JavaX-Caches/tmp_364055929/main.java:62: error: ';' expected ret doubleRatio(inputDataSize(), compressedSize()); ^ /root/JavaX-Caches/tmp_364055929/main.java:76: error: ';' expected simplyCached Bool correct() { ^ /root/JavaX-Caches/tmp_364055929/main.java:76: error: invalid method declaration; return type required simplyCached Bool correct() { ^ /root/JavaX-Caches/tmp_364055929/main.java:77: error: ';' expected ret eq(toByteList(decompressed()), inputData()); ^ /root/JavaX-Caches/tmp_364055929/main.java:77: error: ';' expected ret eq(toByteList(decompressed()), inputData()); ^ /root/JavaX-Caches/tmp_364055929/main.java:77: error: ';' expected ret eq(toByteList(decompressed()), inputData()); ^ /root/JavaX-Caches/tmp_364055929/main.java:81: error: class, interface, or enum expected int inputDataSize() { ret l(inputData); } ^ /root/JavaX-Caches/tmp_364055929/main.java:81: error: class, interface, or enum expected int inputDataSize() { ret l(inputData); } ^ /root/JavaX-Caches/tmp_364055929/main.java:85: error: class, interface, or enum expected new Submission s; ^ /root/JavaX-Caches/tmp_364055929/main.java:86: error: class, interface, or enum expected s.setDecompressor(compression); ^ /root/JavaX-Caches/tmp_364055929/main.java:87: error: class, interface, or enum expected if (s.score() > best.score()) ^ /root/JavaX-Caches/tmp_364055929/main.java:90: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_364055929/main.java:92: error: class, interface, or enum expected ret s; ^ /root/JavaX-Caches/tmp_364055929/main.java:93: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_364055929/main.java:97: error: class, interface, or enum expected ret s?.decompressor(); ^ /root/JavaX-Caches/tmp_364055929/main.java:98: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_364055929/main.java:102: error: class, interface, or enum expected initAction(compressor); ^ /root/JavaX-Caches/tmp_364055929/main.java:103: error: class, interface, or enum expected compressor.setSearch(this); ^ /root/JavaX-Caches/tmp_364055929/main.java:104: error: class, interface, or enum expected compressor.run(); ^ /root/JavaX-Caches/tmp_364055929/main.java:105: error: class, interface, or enum expected } ^ 46 errors