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

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

/root/JavaX-Caches/tmp_1021245100/main.java:1: error: class, interface, or enum expected static int ai_writeTripleFile(Collection<TripleWeb> triples, OutputStream out) ctex { ^ /root/JavaX-Caches/tmp_1021245100/main.java:3: error: class, interface, or enum expected new L<S> names; ^ /root/JavaX-Caches/tmp_1021245100/main.java:4: error: class, interface, or enum expected new Map<S, Int> index; ^ /root/JavaX-Caches/tmp_1021245100/main.java:5: error: class, interface, or enum expected ai_writeTripleFile_precollectNames(names, index, triples); ^ /root/JavaX-Caches/tmp_1021245100/main.java:6: error: class, interface, or enum expected new ByteArrayOutputStream baos; ^ /root/JavaX-Caches/tmp_1021245100/main.java:7: error: class, interface, or enum expected PrintWriter writer = utf8printWriter(baos); ^ /root/JavaX-Caches/tmp_1021245100/main.java:8: error: class, interface, or enum expected int n = 0; ^ /root/JavaX-Caches/tmp_1021245100/main.java:9: error: class, interface, or enum expected for (TripleWeb w : triples) { ^ /root/JavaX-Caches/tmp_1021245100/main.java:11: error: class, interface, or enum expected S title = null; ^ /root/JavaX-Caches/tmp_1021245100/main.java:12: error: class, interface, or enum expected S moreInfo = quote(str(w.globalID())) + " " + quote(unnull(title)) + " " + quote(unnull(w.source())) + " " + (w.unverified() ? "u" : "v") + " " + w.created(); ^ /root/JavaX-Caches/tmp_1021245100/main.java:13: error: class, interface, or enum expected O result = w.result(); ^ /root/JavaX-Caches/tmp_1021245100/main.java:14: error: class, interface, or enum expected if (result != null) ^ /root/JavaX-Caches/tmp_1021245100/main.java:17: error: class, interface, or enum expected writer.write( ^ /root/JavaX-Caches/tmp_1021245100/main.java:21: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1021245100/main.java:24: error: class, interface, or enum expected print("Have " + n2(names, "name") + ", " + toM(baos.size()) + "M buffered bytes"); ^ /root/JavaX-Caches/tmp_1021245100/main.java:25: error: class, interface, or enum expected PrintWriter writer2 = utf8printWriter(out); ^ /root/JavaX-Caches/tmp_1021245100/main.java:26: error: class, interface, or enum expected for (S s : names) ^ /root/JavaX-Caches/tmp_1021245100/main.java:28: error: class, interface, or enum expected writer2.println(); ^ /root/JavaX-Caches/tmp_1021245100/main.java:29: error: class, interface, or enum expected writer2.flush(); ^ /root/JavaX-Caches/tmp_1021245100/main.java:30: error: class, interface, or enum expected baos.writeTo(out); ^ /root/JavaX-Caches/tmp_1021245100/main.java:31: error: class, interface, or enum expected ret n; ^ /root/JavaX-Caches/tmp_1021245100/main.java:32: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1021245100/main.java:36: error: class, interface, or enum expected if (i == null) { ^ /root/JavaX-Caches/tmp_1021245100/main.java:38: error: class, interface, or enum expected names.add(s); ^ /root/JavaX-Caches/tmp_1021245100/main.java:39: error: class, interface, or enum expected index.put(s, i); ^ /root/JavaX-Caches/tmp_1021245100/main.java:40: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1021245100/main.java:42: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1021245100/main.java:47: error: class, interface, or enum expected ai_writeTripleFile_indexGet(names, index, w.b); ^ /root/JavaX-Caches/tmp_1021245100/main.java:48: error: class, interface, or enum expected ai_writeTripleFile_indexGet(names, index, w.c); ^ /root/JavaX-Caches/tmp_1021245100/main.java:49: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1021245100/main.java:51: error: class, interface, or enum expected index.clear(); ^ /root/JavaX-Caches/tmp_1021245100/main.java:52: error: class, interface, or enum expected for i over names: index.put(names.get(i), i); ^ /root/JavaX-Caches/tmp_1021245100/main.java:53: error: class, interface, or enum expected } ^ 33 errors