Wrote /root/JavaX-Caches/tmp_166225817/main.java - 59 bytes (written=59, should be 59) 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_47851930 /root/JavaX-Caches/tmp_166225817/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_166225817/main.java (at line 1) static S fileToURI(File f) ctex { ^ Syntax error on token "S", @ expected ---------- 2. ERROR in /root/JavaX-Caches/tmp_166225817/main.java (at line 1) static S fileToURI(File f) ctex { ^^^^ Syntax error on token "File", invalid ( ---------- 3. ERROR in /root/JavaX-Caches/tmp_166225817/main.java (at line 1) static S fileToURI(File f) ctex { ^ Syntax error on token "{", instanceof expected ---------- 4. ERROR in /root/JavaX-Caches/tmp_166225817/main.java (at line 2) ret str(f.toURI()); ^^^ Syntax error on token "str", == expected after this token ---------- 5. ERROR in /root/JavaX-Caches/tmp_166225817/main.java (at line 2) ret str(f.toURI()); ^ Syntax error, insert ")" to complete Expression ---------- 6. ERROR in /root/JavaX-Caches/tmp_166225817/main.java (at line 2) ret str(f.toURI()); ^ Syntax error, insert ")" to complete SingleMemberAnnotation ---------- 7. ERROR in /root/JavaX-Caches/tmp_166225817/main.java (at line 2) ret str(f.toURI()); ^ Syntax error, insert "enum Identifier" to complete EnumHeaderName ---------- 8. ERROR in /root/JavaX-Caches/tmp_166225817/main.java (at line 2) ret str(f.toURI()); ^ Syntax error, insert "EnumBody" to complete CompilationUnit ---------- 8 problems (8 errors) Options file: /tmp/javax6774557301096314336