Wrote /root/JavaX-Caches/tmp_1115681472/main.java - 975 bytes (written=975, should be 975) 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_1477700445 /root/JavaX-Caches/tmp_1115681472/main.java [Compilation Error]

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

main$JavaCompileException: ECJ returned errors. Annotation processing got disabled, since it requires a 1.6 compliant JVM ---------- 1. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 1) static String getSnippetTitle(String id) ctex { ^^^^^^ Syntax error on token "String", @ expected ---------- 2. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 1) static String getSnippetTitle(String id) ctex { ^^^^^^ Syntax error on token "String", invalid ( ---------- 3. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 1) static String getSnippetTitle(String id) ctex {\r if (id == null) null; ^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on token(s), misplaced construct(s) ---------- 4. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 1) static String getSnippetTitle(String id) ctex {\r if (id == null) null; ^^^^^^^ Syntax error on tokens, delete these tokens ---------- 5. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 2) if (id == null) null;\r if (!isSnippetID(id)) ret "?"; ^^^^^^^^^^^ Syntax error on tokens, AnnotationName expected instead ---------- 6. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 2) if (id == null) null;\r if (!isSnippetID(id)) ret "?";\r \r ifndef NoResourceLoader\r IResourceLoader rl = vm_getResourceLoader(); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, ( expected instead ---------- 7. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 6) IResourceLoader rl = vm_getResourceLoader();\r if (rl != null) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, AnnotationName expected instead ---------- 8. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 8) ret rl.getSnippetTitle(id); ^^^ Syntax error, insert ". new" to complete ClassInstanceCreationExpressionName ---------- 9. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 8) ret rl.getSnippetTitle(id); ^ Syntax error on token ")", { expected after this token ---------- 10. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 9) endifndef ^^^^^^^^^ Syntax error on token "endifndef", { expected ---------- 11. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 11) if (isLocalSnippetID(id)) ret localSnippetTitle(id); ^^^ Syntax error, insert ":: IdentifierOrNew" to complete ReferenceExpression ---------- 12. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 11) if (isLocalSnippetID(id)) ret localSnippetTitle(id); ^^^ Syntax error, insert "AssignmentOperator Expression" to complete Assignment ---------- 13. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 11) if (isLocalSnippetID(id)) ret localSnippetTitle(id); ^^^ Syntax error, insert ";" to complete Statement ---------- 14. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 22) pcall-short { saveTextFileIfChanged(snippetTitle_cacheFile(id), title); } ^^^^^ Syntax error, insert ":: IdentifierOrNew" to complete ReferenceExpression ---------- 15. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 22) pcall-short { saveTextFileIfChanged(snippetTitle_cacheFile(id), title); } ^^^^^ Syntax error, insert "AssignmentOperator Expression" to complete Assignment ---------- 16. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 22) pcall-short { saveTextFileIfChanged(snippetTitle_cacheFile(id), title); } ^^^^^ Syntax error, insert ";" to complete Statement ---------- 17. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 22) pcall-short { saveTextFileIfChanged(snippetTitle_cacheFile(id), title); } ^^^^^ Syntax error, insert "else Statement" to complete IfStatement ---------- 18. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 22) pcall-short { saveTextFileIfChanged(snippetTitle_cacheFile(id), title); } ^^^^^ Syntax error, insert "}" to complete Block ---------- 19. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 22) pcall-short { saveTextFileIfChanged(snippetTitle_cacheFile(id), title); } ^^^^^ Syntax error, insert "}" to complete ClassBody ---------- 20. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 22) pcall-short { saveTextFileIfChanged(snippetTitle_cacheFile(id), title); } ^^^^^ Syntax error, insert ". class" to complete Expression ---------- 21. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 22) pcall-short { saveTextFileIfChanged(snippetTitle_cacheFile(id), title); } ^^^^^ Syntax error, insert ")" to complete Expression ---------- 22. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 22) pcall-short { saveTextFileIfChanged(snippetTitle_cacheFile(id), title); } ^^^^^ Syntax error, insert ")" to complete SingleMemberAnnotation ---------- 23. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 22) pcall-short { saveTextFileIfChanged(snippetTitle_cacheFile(id), title); } ^^^^^ Syntax error, insert "enum Identifier" to complete EnumHeader ---------- 24. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 22) pcall-short { saveTextFileIfChanged(snippetTitle_cacheFile(id), title); } ^ Syntax error on token "}", { expected ---------- 25. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 27) ret getSnippetTitle(fsI(id)); ^^^ Syntax error on token "ret", return expected ---------- 26. ERROR in /root/JavaX-Caches/tmp_1115681472/main.java (at line 28) } ^ Syntax error, insert "}" to complete EnumBody ---------- 26 problems (26 errors) Options file: /tmp/javax5059268728187222015