Wrote /root/JavaX-Caches/tmp_87626267/main.java - 3142 bytes (written=3142, should be 3142)
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_501797614 /root/JavaX-Caches/tmp_87626267/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_87626267/main.java:1: error: class, interface, or enum expected
sbool tok_defaultArguments_debug = true;
^
/root/JavaX-Caches/tmp_87626267/main.java:7: error: class, interface, or enum expected
svoid tok_defaultArguments(LS tok) {
^
/root/JavaX-Caches/tmp_87626267/main.java:11: error: class, interface, or enum expected
for (int i : jfindAll_reversed(tok, " default", tokCondition {
^
/root/JavaX-Caches/tmp_87626267/main.java:14: error: class, interface, or enum expected
})) {
^
/root/JavaX-Caches/tmp_87626267/main.java:16: error: class, interface, or enum expected
int iClosing = findEndOfBracketPart2(tok, iOpening)-1;
^
/root/JavaX-Caches/tmp_87626267/main.java:17: error: class, interface, or enum expected
bool hasBody = tok_hasBody(tok, iClosing+2);
^
/root/JavaX-Caches/tmp_87626267/main.java:21: error: class, interface, or enum expected
int iName = iOpening-2;
^
/root/JavaX-Caches/tmp_87626267/main.java:22: error: class, interface, or enum expected
S name = get(tok, iName);
^
/root/JavaX-Caches/tmp_87626267/main.java:23: error: class, interface, or enum expected
bool isConstructor = eq(name, "*");
^
/root/JavaX-Caches/tmp_87626267/main.java:24: error: class, interface, or enum expected
if (!isConstructor && !isIdentifier(name))
^
/root/JavaX-Caches/tmp_87626267/main.java:27: error: class, interface, or enum expected
int iAkas = tok_leftScanAkas(tok, iName);
^
/root/JavaX-Caches/tmp_87626267/main.java:28: error: class, interface, or enum expected
name = get(tok, iAkas);
^
/root/JavaX-Caches/tmp_87626267/main.java:29: error: class, interface, or enum expected
int iJavaxMods = tok_leftScanJavaxModifiers(tok, iAkas);
^
/root/JavaX-Caches/tmp_87626267/main.java:30: error: class, interface, or enum expected
int iType = isConstructor ? iJavaxMods : tok_leftScanType(tok, iJavaxMods);
^
/root/JavaX-Caches/tmp_87626267/main.java:31: error: class, interface, or enum expected
int iStart = tok_leftScanTypeArgsOpt(tok, iType);
^
/root/JavaX-Caches/tmp_87626267/main.java:32: error: class, interface, or enum expected
int iModsEnd = iStart;
^
/root/JavaX-Caches/tmp_87626267/main.java:33: error: class, interface, or enum expected
iStart = leftScanModifiers(tok, iModsEnd);
^
/root/JavaX-Caches/tmp_87626267/main.java:34: error: class, interface, or enum expected
Cl modifiers = tok_modifiersLeftOf(tok, iModsEnd);
^
/root/JavaX-Caches/tmp_87626267/main.java:35: error: class, interface, or enum expected
if (!hasBody && !modifiers.contains("abstract"))
^
/root/JavaX-Caches/tmp_87626267/main.java:37: error: class, interface, or enum expected
modifiers.remove("abstract");
^
/root/JavaX-Caches/tmp_87626267/main.java:39: error: class, interface, or enum expected
int iEndOfExpr = tok_findEndOfExpression(tok, i+4)+1; // should point at comma or closing bracket
^
/root/JavaX-Caches/tmp_87626267/main.java:40: error: class, interface, or enum expected
S expr = joinSubList(tok, i+4, iEndOfExpr);
^
/root/JavaX-Caches/tmp_87626267/main.java:41: error: class, interface, or enum expected
int iParamTypeStart = tok_leftScanType(tok, i);
^
/root/JavaX-Caches/tmp_87626267/main.java:42: error: class, interface, or enum expected
LS _args1 = subList(tok, iOpening+1, iParamTypeStart);
^
/root/JavaX-Caches/tmp_87626267/main.java:43: error: class, interface, or enum expected
LS _args2 = subList(tok, iEndOfExpr+1, iClosing+2);
^
/root/JavaX-Caches/tmp_87626267/main.java:44: error: class, interface, or enum expected
LS args1 = tok_parseArgsDeclList2(_args1);
^
/root/JavaX-Caches/tmp_87626267/main.java:45: error: class, interface, or enum expected
LS args2 = tok_parseArgsDeclList2(_args2);
^
/root/JavaX-Caches/tmp_87626267/main.java:46: error: class, interface, or enum expected
LPairS args1withTypes = map tok_typeAndNameOfParam(args1);
^
/root/JavaX-Caches/tmp_87626267/main.java:47: error: class, interface, or enum expected
LPairS args2withTypes = map tok_typeAndNameOfParam(args2);
^
/root/JavaX-Caches/tmp_87626267/main.java:48: error: class, interface, or enum expected
LS type = subList(tok, iType-1, iName);
^
/root/JavaX-Caches/tmp_87626267/main.java:49: error: class, interface, or enum expected
bool isVoid = isConstructor || containsOneOf(codeTokens(type), javaxVoidAliases());
^
/root/JavaX-Caches/tmp_87626267/main.java:50: error: class, interface, or enum expected
if (eq(expr, "new")) expr = "new " + joinSubList(tok, iParamTypeStart, i-1) + "()";
^
/root/JavaX-Caches/tmp_87626267/main.java:51: error: class, interface, or enum expected
S rewrittenHead = spaceCombine(modifiers, joinSubList(tok, iModsEnd, iOpening+1)
^
/root/JavaX-Caches/tmp_87626267/main.java:54: error: class, interface, or enum expected
if (tok_defaultArguments_debug)
^
/root/JavaX-Caches/tmp_87626267/main.java:57: error: class, interface, or enum expected
S forwardCall = (isVoid ? "" : "return ") + (isConstructor ? "this" : name) + "(" +
^
/root/JavaX-Caches/tmp_87626267/main.java:63: error: class, interface, or enum expected
clearTokens_reTok(tok, i+1, iEndOfExpr-1);
^
/root/JavaX-Caches/tmp_87626267/main.java:64: error: class, interface, or enum expected
tokPrepend_reTok(tok, iStart, rewrittenHead + " { "
^
/root/JavaX-Caches/tmp_87626267/main.java:67: error: class, interface, or enum expected
set change;
^
/root/JavaX-Caches/tmp_87626267/main.java:68: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_87626267/main.java:71: error: class, interface, or enum expected
}
^
40 errors