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

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

/root/JavaX-Caches/tmp_603823075/main.java:1: error: class, interface, or enum expected static L<S> sentencesFromHTML(S html) { ^ /root/JavaX-Caches/tmp_603823075/main.java:3: error: class, interface, or enum expected x.parseHTML(html); ^ /root/JavaX-Caches/tmp_603823075/main.java:4: error: class, interface, or enum expected ret x.sentences; ^ /root/JavaX-Caches/tmp_603823075/main.java:5: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_603823075/main.java:9: error: class, interface, or enum expected bool withQuestions = true; ^ /root/JavaX-Caches/tmp_603823075/main.java:11: error: class, interface, or enum expected void parseHTML(S html) { ^ /root/JavaX-Caches/tmp_603823075/main.java:14: error: class, interface, or enum expected tok = removeScripts(tok); ^ /root/JavaX-Caches/tmp_603823075/main.java:15: error: class, interface, or enum expected tok = dropTags(tok, "span"); ^ /root/JavaX-Caches/tmp_603823075/main.java:16: error: class, interface, or enum expected tok = dropTags(tok, "a"); ^ /root/JavaX-Caches/tmp_603823075/main.java:17: error: class, interface, or enum expected tok = dropTags(tok, "b"); ^ /root/JavaX-Caches/tmp_603823075/main.java:18: error: class, interface, or enum expected tok = dropTags(tok, "small"); ^ /root/JavaX-Caches/tmp_603823075/main.java:23: error: class, interface, or enum expected for (int i = 0; i < tok.size(); i += 2) { ^ /root/JavaX-Caches/tmp_603823075/main.java:23: error: class, interface, or enum expected for (int i = 0; i < tok.size(); i += 2) { ^ /root/JavaX-Caches/tmp_603823075/main.java:23: error: class, interface, or enum expected for (int i = 0; i < tok.size(); i += 2) { ^ /root/JavaX-Caches/tmp_603823075/main.java:25: error: class, interface, or enum expected if (line.startsWith("<!--")) continue; // HTML comment ^ /root/JavaX-Caches/tmp_603823075/main.java:26: error: class, interface, or enum expected if (line.length() == 0) continue; ^ /root/JavaX-Caches/tmp_603823075/main.java:28: error: class, interface, or enum expected interpretLine(line); ^ /root/JavaX-Caches/tmp_603823075/main.java:29: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_603823075/main.java:33: error: class, interface, or enum expected for (int i = 0; i < s.length(); i++) ^ /root/JavaX-Caches/tmp_603823075/main.java:33: error: class, interface, or enum expected for (int i = 0; i < s.length(); i++) ^ /root/JavaX-Caches/tmp_603823075/main.java:36: error: class, interface, or enum expected ret false; ^ /root/JavaX-Caches/tmp_603823075/main.java:37: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_603823075/main.java:42: error: class, interface, or enum expected if (Character.isLowerCase(first) || ",;:=".indexOf(first) >= 0) continue; ^ /root/JavaX-Caches/tmp_603823075/main.java:43: error: class, interface, or enum expected if (!hasCharacters(sentence)) continue; ^ /root/JavaX-Caches/tmp_603823075/main.java:46: error: class, interface, or enum expected sentence = htmldecode(sentence); ^ /root/JavaX-Caches/tmp_603823075/main.java:48: error: class, interface, or enum expected sentences.add(sentence); ^ /root/JavaX-Caches/tmp_603823075/main.java:49: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_603823075/main.java:54: error: class, interface, or enum expected fixSpaces(tok); ^ /root/JavaX-Caches/tmp_603823075/main.java:55: error: class, interface, or enum expected new L<S> list; ^ /root/JavaX-Caches/tmp_603823075/main.java:56: error: class, interface, or enum expected int i = 0; ^ /root/JavaX-Caches/tmp_603823075/main.java:57: error: class, interface, or enum expected while (true) { ^ /root/JavaX-Caches/tmp_603823075/main.java:59: error: class, interface, or enum expected do { ^ /root/JavaX-Caches/tmp_603823075/main.java:61: error: class, interface, or enum expected if (j >= l(tok)) return list; ^ /root/JavaX-Caches/tmp_603823075/main.java:62: error: class, interface, or enum expected } while (j+1 < tok.size()-1 && tok.get(j+1).equals("")); // matches stuff like "9.5" ^ /root/JavaX-Caches/tmp_603823075/main.java:64: error: class, interface, or enum expected S sentence = join(tok.subList(i, j+1)).trim(); ^ /root/JavaX-Caches/tmp_603823075/main.java:65: error: class, interface, or enum expected if (sentence.length() > 1) ^ /root/JavaX-Caches/tmp_603823075/main.java:67: error: class, interface, or enum expected i = j+1; ^ /root/JavaX-Caches/tmp_603823075/main.java:68: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_603823075/main.java:73: error: class, interface, or enum expected for (int i = 0; i < l(tok); i += 2) ^ /root/JavaX-Caches/tmp_603823075/main.java:73: error: class, interface, or enum expected for (int i = 0; i < l(tok); i += 2) ^ /root/JavaX-Caches/tmp_603823075/main.java:75: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_603823075/main.java:79: error: class, interface, or enum expected for (int i = 1; i < tok.size(); ) ^ /root/JavaX-Caches/tmp_603823075/main.java:79: error: class, interface, or enum expected for (int i = 1; i < tok.size(); ) ^ /root/JavaX-Caches/tmp_603823075/main.java:79: error: class, interface, or enum expected for (int i = 1; i < tok.size(); ) ^ /root/JavaX-Caches/tmp_603823075/main.java:82: error: class, interface, or enum expected while (j < tok.size() && !tagIs(tok.get(j), "/script")) ^ /root/JavaX-Caches/tmp_603823075/main.java:84: error: class, interface, or enum expected while (j+1 > i-1) { // Yeah it's inefficient... ^ /root/JavaX-Caches/tmp_603823075/main.java:85: error: class, interface, or enum expected tok.remove(i-1); --j; ^ /root/JavaX-Caches/tmp_603823075/main.java:86: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_603823075/main.java:89: error: class, interface, or enum expected return tok; ^ /root/JavaX-Caches/tmp_603823075/main.java:90: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_603823075/main.java:94: error: class, interface, or enum expected for (int i = 0; i < tok.size(); i++) { ^ /root/JavaX-Caches/tmp_603823075/main.java:94: error: class, interface, or enum expected for (int i = 0; i < tok.size(); i++) { ^ /root/JavaX-Caches/tmp_603823075/main.java:94: error: class, interface, or enum expected for (int i = 0; i < tok.size(); i++) { ^ /root/JavaX-Caches/tmp_603823075/main.java:96: error: class, interface, or enum expected if (tagIs(t, tag) || tagIs(t, "/" + tag)) { ^ /root/JavaX-Caches/tmp_603823075/main.java:98: error: class, interface, or enum expected ++i; ^ /root/JavaX-Caches/tmp_603823075/main.java:99: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_603823075/main.java:101: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_603823075/main.java:103: error: class, interface, or enum expected } ^ 58 errors