ecj -source 1.7 -target 1.7 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar -d /tmp/tmp_1471438995 /tmp/tmp_1866330824/main.java [Compilation Error]

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

java.lang.RuntimeException: Java compiler returned errors. ---------- 1. ERROR in /tmp/tmp_1866330824/main.java (at line 1) static S getLeadingSpaces(S s) { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on token(s), misplaced construct(s) ---------- 2. ERROR in /tmp/tmp_1866330824/main.java (at line 1) static S getLeadingSpaces(S s) { ^ Syntax error on token "S", @ expected ---------- 3. ERROR in /tmp/tmp_1866330824/main.java (at line 1) static S getLeadingSpaces(S s) { ^ Syntax error on token(s), misplaced construct(s) ---------- 4. ERROR in /tmp/tmp_1866330824/main.java (at line 2) ret substring(s, 0, countLeadingSpaces(s)); ^^^ Syntax error on token "ret", { expected ---------- 4 problems (4 errors) Options file: /tmp/javax6193942003633426779