Wrote /root/JavaX-Caches/tmp_477272723/main.java - 1923 bytes (written=1923, should be 1923) javac=0, ecj=1, useJarBot=0 Checking ECJ at port 4898 at 127.0.0.1 /root/jdk-17/bin/javac -source 11 -target 11 -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_1742094559 /root/JavaX-Caches/tmp_477272723/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_477272723/main.java:5: error: class, interface, or enum expected svoid tok_multiTypeArguments(LS tok) { ^ /root/JavaX-Caches/tmp_477272723/main.java:7: error: class, interface, or enum expected while ((i = jfind(tok, "File/<id> <id>", (_tok, nIdx) -> ^ /root/JavaX-Caches/tmp_477272723/main.java:10: error: class, interface, or enum expected int iClosing = findEndOfBracketPart2(tok, iOpening)-1; ^ /root/JavaX-Caches/tmp_477272723/main.java:13: error: class, interface, or enum expected int iName = iOpening-2; ^ /root/JavaX-Caches/tmp_477272723/main.java:14: error: class, interface, or enum expected S name = assertIdentifier(get(tok, iName)); ^ /root/JavaX-Caches/tmp_477272723/main.java:16: error: class, interface, or enum expected int iType = tok_leftScanType(tok, iName); ^ /root/JavaX-Caches/tmp_477272723/main.java:17: error: class, interface, or enum expected int iStart = tok_leftScanTypeArgsOpt(tok, iType); ^ /root/JavaX-Caches/tmp_477272723/main.java:18: error: class, interface, or enum expected iStart = leftScanModifiers(tok, iStart); ^ /root/JavaX-Caches/tmp_477272723/main.java:20: error: class, interface, or enum expected int iArgEnd = i+8; // comma or closing bracket ^ /root/JavaX-Caches/tmp_477272723/main.java:21: error: class, interface, or enum expected LS _args1 = subList(tok, iOpening+1, i); ^ /root/JavaX-Caches/tmp_477272723/main.java:22: error: class, interface, or enum expected LS _args2 = subList(tok, iArgEnd+1, iClosing); ^ /root/JavaX-Caches/tmp_477272723/main.java:23: error: class, interface, or enum expected LS args1 = tok_parseArgsDeclList2(_args1); ^ /root/JavaX-Caches/tmp_477272723/main.java:24: error: class, interface, or enum expected LS args2 = tok_parseArgsDeclList2(_args2); ^ /root/JavaX-Caches/tmp_477272723/main.java:25: error: class, interface, or enum expected LS type = subList(tok, iType-1, iName); ^ /root/JavaX-Caches/tmp_477272723/main.java:26: error: class, interface, or enum expected bool isVoid = containsOneOf(codeTokens(type), javaxVoidAliases()); ^ /root/JavaX-Caches/tmp_477272723/main.java:29: error: class, interface, or enum expected S argName = tok.get(i+6); ^ /root/JavaX-Caches/tmp_477272723/main.java:30: error: class, interface, or enum expected S mainType = tok.get(i), altType = tok.get(i+4); ^ /root/JavaX-Caches/tmp_477272723/main.java:31: error: class, interface, or enum expected S converter = "newFile"; ^ /root/JavaX-Caches/tmp_477272723/main.java:32: error: class, interface, or enum expected S expr = converter + "(" + argName + ")"; ^ /root/JavaX-Caches/tmp_477272723/main.java:34: error: class, interface, or enum expected S rewrittenHead = joinSubList(tok, iStart, iOpening+1) ^ /root/JavaX-Caches/tmp_477272723/main.java:39: error: class, interface, or enum expected replaceTokens_reTok(tok, i, i+7, mainType + " " + argName); ^ /root/JavaX-Caches/tmp_477272723/main.java:40: error: class, interface, or enum expected tokPrepend_reTok(tok, iStart, rewrittenHead + " { " ^ /root/JavaX-Caches/tmp_477272723/main.java:46: error: class, interface, or enum expected } ^ 23 errors