Wrote /root/JavaX-Caches/tmp_1767510895/main.java - 327 bytes (written=327, should be 327) 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_329145935 /root/JavaX-Caches/tmp_1767510895/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_1767510895/main.java (at line 1) static bool tok_hasClassRef2(L<S> tok, S className) { ^^^^ Syntax error on token "bool", @ expected ---------- 2. ERROR in /root/JavaX-Caches/tmp_1767510895/main.java (at line 1) static bool tok_hasClassRef2(L<S> tok, S className) { ^ Syntax error on token ">", ( expected ---------- 3. ERROR in /root/JavaX-Caches/tmp_1767510895/main.java (at line 1) static bool tok_hasClassRef2(L<S> tok, S className) { ^ Syntax error on token(s), misplaced construct(s) ---------- 4. ERROR in /root/JavaX-Caches/tmp_1767510895/main.java (at line 1) static bool tok_hasClassRef2(L<S> tok, S className) { ^ Syntax error, insert ")" to complete SingleMemberAnnotation ---------- 5. ERROR in /root/JavaX-Caches/tmp_1767510895/main.java (at line 1) static bool tok_hasClassRef2(L<S> tok, S className) { ^ Syntax error, insert "interface Identifier" to complete InterfaceHeader ---------- 6. ERROR in /root/JavaX-Caches/tmp_1767510895/main.java (at line 4) for (int i = 1; i < n; i += 2) { ^^^ Syntax error on token "for", Identifier expected ---------- 7. ERROR in /root/JavaX-Caches/tmp_1767510895/main.java (at line 4) for (int i = 1; i < n; i += 2) { ^ Syntax error, insert ")" to complete ConstructorDeclaration ---------- 8. ERROR in /root/JavaX-Caches/tmp_1767510895/main.java (at line 4) for (int i = 1; i < n; i += 2) { ^ Syntax error, insert ";" to complete InvalidConstructorDeclaration ---------- 9. ERROR in /root/JavaX-Caches/tmp_1767510895/main.java (at line 4) for (int i = 1; i < n; i += 2) { ^ Syntax error, insert ">" to complete ReferenceType1 ---------- 10. ERROR in /root/JavaX-Caches/tmp_1767510895/main.java (at line 4) for (int i = 1; i < n; i += 2) { ^ Syntax error, insert "Identifier (" to complete MethodHeaderName ---------- 11. ERROR in /root/JavaX-Caches/tmp_1767510895/main.java (at line 4) for (int i = 1; i < n; i += 2) { ^ Syntax error, insert ")" to complete MethodDeclaration ---------- 12. ERROR in /root/JavaX-Caches/tmp_1767510895/main.java (at line 4) for (int i = 1; i < n; i += 2) { ^ Syntax error on token ";", { expected after this token ---------- 13. ERROR in /root/JavaX-Caches/tmp_1767510895/main.java (at line 4) for (int i = 1; i < n; i += 2) { ^ Syntax error on token ")", ; expected ---------- 14. ERROR in /root/JavaX-Caches/tmp_1767510895/main.java (at line 8) else if (level <= 0 && eq(t, className)) true; ^^^^ Syntax error, insert "AssignmentOperator Expression" to complete Expression ---------- 15. ERROR in /root/JavaX-Caches/tmp_1767510895/main.java (at line 10) false; ^^^^^ Syntax error on token "false", } expected ---------- 15 problems (15 errors) Options file: /tmp/javax13498339081168584