Wrote /root/JavaX-Caches/tmp_734086335/main.java - 633 bytes (written=633, should be 633) javac=0, ecj=1 Checking ECJ at port 4898 at 127.0.0.1 ecj -source 1.8 -target 1.8 -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_1081441602 /root/JavaX-Caches/tmp_734086335/main.java [Compilation Error]

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

main$JavaCompileException: ECJ returned errors. ---------- 1. ERROR in /root/JavaX-Caches/tmp_734086335/main.java (at line 1) static L<S> getSupportedQuestions_functionNames = litlist("match", "match3", "flexmatch"); ^^^^^^ Syntax error on token "static", interface expected after this token ---------- 2. ERROR in /root/JavaX-Caches/tmp_734086335/main.java (at line 1) static L<S> getSupportedQuestions_functionNames = litlist("match", "match3", "flexmatch");\r \r static L<S> getSupportedQuestions(S programIDOrSrc) ctex { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, ClassHeaderName expected instead ---------- 3. ERROR in /root/JavaX-Caches/tmp_734086335/main.java (at line 3) static L<S> getSupportedQuestions(S programIDOrSrc) ctex { ^ Syntax error on token ">", { expected after this token ---------- 4. ERROR in /root/JavaX-Caches/tmp_734086335/main.java (at line 3) static L<S> getSupportedQuestions(S programIDOrSrc) ctex { ^^^^ Syntax error on token "ctex", delete this token ---------- 5. ERROR in /root/JavaX-Caches/tmp_734086335/main.java (at line 5) new TreeSet<S> questions; ^^^^^^^^^^^^^^ Syntax error on tokens, Type expected instead ---------- 6. ERROR in /root/JavaX-Caches/tmp_734086335/main.java (at line 11) ret asList(questions); ^^^ Syntax error on token "ret", return expected ---------- 7. ERROR in /root/JavaX-Caches/tmp_734086335/main.java (at line 15) ret getSupportedQuestions(myJavaSource()); ^^^ Syntax error on token "ret", return expected ---------- 8. ERROR in /root/JavaX-Caches/tmp_734086335/main.java (at line 16) } ^ Syntax error, insert "}" to complete ClassBody ---------- 8 problems (8 errors) Options file: /tmp/javax16282644683123820491