Wrote /root/JavaX-Caches/tmp_15910587/main.java - 3869 bytes (written=3869, should be 3869)
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_868850987 /root/JavaX-Caches/tmp_15910587/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_15910587/main.java:1: error: class, interface, or enum expected
asclass AbstractQuadTree extends WidthAndHeightImpl is Matrix {
^
/root/JavaX-Caches/tmp_15910587/main.java:7: error: class, interface, or enum expected
void set(int idx, Node n) {
^
/root/JavaX-Caches/tmp_15910587/main.java:9: error: class, interface, or enum expected
if (idx == 1) b = n;
^
/root/JavaX-Caches/tmp_15910587/main.java:10: error: class, interface, or enum expected
if (idx == 2) c = n;
^
/root/JavaX-Caches/tmp_15910587/main.java:11: error: class, interface, or enum expected
if (idx == 3) d = n;
^
/root/JavaX-Caches/tmp_15910587/main.java:12: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_15910587/main.java:16: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_15910587/main.java:20: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_15910587/main.java:27: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_15910587/main.java:32: error: class, interface, or enum expected
*() {}
^
/root/JavaX-Caches/tmp_15910587/main.java:35: error: class, interface, or enum expected
int half(int x) { ret roundUpToPowerOfTwo((x+1)/2); }
^
/root/JavaX-Caches/tmp_15910587/main.java:36: error: class, interface, or enum expected
int halfX(Rect r) { ret r.x+half(r.w); }
^
/root/JavaX-Caches/tmp_15910587/main.java:37: error: class, interface, or enum expected
int halfY(Rect r) { ret r.y+half(r.h); }
^
/root/JavaX-Caches/tmp_15910587/main.java:39: error: class, interface, or enum expected
Rect rectA(Rect r) { ret rect(r.x, r.y, half(r.w), half(r.h)); }
^
/root/JavaX-Caches/tmp_15910587/main.java:40: error: class, interface, or enum expected
Rect rectB(Rect r) { ret rectFromPoints(r.x+half(r.w), r.y, r.x2(), halfY(r)); }
^
/root/JavaX-Caches/tmp_15910587/main.java:41: error: class, interface, or enum expected
Rect rectC(Rect r) { ret rectFromPoints(r.x, r.y+half(r.h), r.x+half(r.w), r.y2()); }
^
/root/JavaX-Caches/tmp_15910587/main.java:42: error: class, interface, or enum expected
Rect rectD(Rect r) { ret rectFromPoints(r.x+half(r.w), r.y+half(r.h), r.x2(), r.y2()); }
^
/root/JavaX-Caches/tmp_15910587/main.java:44: error: class, interface, or enum expected
public A get(int x, int y) {
^
/root/JavaX-Caches/tmp_15910587/main.java:46: error: class, interface, or enum expected
Rect r = rect(0, 0, width, height);
^
/root/JavaX-Caches/tmp_15910587/main.java:47: error: class, interface, or enum expected
while (node cast Composite) {
^
/root/JavaX-Caches/tmp_15910587/main.java:49: error: class, interface, or enum expected
if (y < hy)
^
/root/JavaX-Caches/tmp_15910587/main.java:51: error: class, interface, or enum expected
node = node.a; r = rectA(r);
^
/root/JavaX-Caches/tmp_15910587/main.java:52: error: class, interface, or enum expected
} else {
^
/root/JavaX-Caches/tmp_15910587/main.java:53: error: class, interface, or enum expected
node = node.b; r = rectB(r);
^
/root/JavaX-Caches/tmp_15910587/main.java:54: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_15910587/main.java:57: error: class, interface, or enum expected
node = node.c; r = rectC(r);
^
/root/JavaX-Caches/tmp_15910587/main.java:58: error: class, interface, or enum expected
} else {
^
/root/JavaX-Caches/tmp_15910587/main.java:59: error: class, interface, or enum expected
node = node.d; r = rectD(r);
^
/root/JavaX-Caches/tmp_15910587/main.java:60: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_15910587/main.java:63: error: class, interface, or enum expected
endifdef
^
/root/JavaX-Caches/tmp_15910587/main.java:66: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_15910587/main.java:68: error: class, interface, or enum expected
public void set(int x, int y, A value) {
^
/root/JavaX-Caches/tmp_15910587/main.java:70: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_15910587/main.java:74: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_15910587/main.java:81: error: class, interface, or enum expected
if (rectContains(r, cursor.r))
^
/root/JavaX-Caches/tmp_15910587/main.java:83: error: class, interface, or enum expected
else {
^
/root/JavaX-Caches/tmp_15910587/main.java:87: error: class, interface, or enum expected
for (Cursor c : cursor.subCursors())
^
/root/JavaX-Caches/tmp_15910587/main.java:89: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_15910587/main.java:92: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_15910587/main.java:95: error: ';' expected
settable Composite parent;
^
/root/JavaX-Caches/tmp_15910587/main.java:95: error: expected
settable Composite parent;
^
/root/JavaX-Caches/tmp_15910587/main.java:96: error: expected
settable int indexInParent;
^
/root/JavaX-Caches/tmp_15910587/main.java:98: error: ';' expected
settable Rect r;
^
/root/JavaX-Caches/tmp_15910587/main.java:98: error: expected
settable Rect r;
^
/root/JavaX-Caches/tmp_15910587/main.java:99: error: ';' expected
settable Node node;
^
/root/JavaX-Caches/tmp_15910587/main.java:99: error: expected
settable Node node;
^
/root/JavaX-Caches/tmp_15910587/main.java:102: error: ')' expected
if (node cast Composite)
^
/root/JavaX-Caches/tmp_15910587/main.java:102: error: ';' expected
if (node cast Composite)
^
/root/JavaX-Caches/tmp_15910587/main.java:102: error: variable declaration not allowed here
if (node cast Composite)
^
/root/JavaX-Caches/tmp_15910587/main.java:103: error: ';' expected
ret ll(
^
/root/JavaX-Caches/tmp_15910587/main.java:104: error: ';' expected
subCursor(0, node.a, rectA(r)),
^
/root/JavaX-Caches/tmp_15910587/main.java:105: error: ';' expected
subCursor(1, node.b, rectB(r)),
^
/root/JavaX-Caches/tmp_15910587/main.java:106: error: ';' expected
subCursor(2, node.c, rectC(r)),
^
/root/JavaX-Caches/tmp_15910587/main.java:107: error: ';' expected
subCursor(3, node.d, rectD(r)));
^
/root/JavaX-Caches/tmp_15910587/main.java:108: error: ';' expected
ret emptyList();
^
/root/JavaX-Caches/tmp_15910587/main.java:112: error: not a statement
ret new Cursor().r(r).node(n)
^
/root/JavaX-Caches/tmp_15910587/main.java:112: error: ';' expected
ret new Cursor().r(r).node(n)
^
/root/JavaX-Caches/tmp_15910587/main.java:116: error: expected
scaffolded void turnIntoComposite {
^
/root/JavaX-Caches/tmp_15910587/main.java:116: error: '(' expected
scaffolded void turnIntoComposite {
^
/root/JavaX-Caches/tmp_15910587/main.java:121: error: expected
scaffolded void replace(Node n) {
^
/root/JavaX-Caches/tmp_15910587/main.java:122: error: not a statement
if (node == n) ret;
^
/root/JavaX-Caches/tmp_15910587/main.java:131: error: expected
scaffolded void simplify {
^
/root/JavaX-Caches/tmp_15910587/main.java:131: error: '(' expected
scaffolded void simplify {
^
/root/JavaX-Caches/tmp_15910587/main.java:132: error: ')' expected
if (node cast Composite && node.simplifiable())
^
/root/JavaX-Caches/tmp_15910587/main.java:132: error: ';' expected
if (node cast Composite && node.simplifiable())
^
/root/JavaX-Caches/tmp_15910587/main.java:132: error: variable declaration not allowed here
if (node cast Composite && node.simplifiable())
^
/root/JavaX-Caches/tmp_15910587/main.java:132: error: ';' expected
if (node cast Composite && node.simplifiable())
^
/root/JavaX-Caches/tmp_15910587/main.java:141: error: class, interface, or enum expected
Cursor rootCursor() {
^
/root/JavaX-Caches/tmp_15910587/main.java:143: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_15910587/main.java:148: error: class, interface, or enum expected
ret 0;
^
/root/JavaX-Caches/tmp_15910587/main.java:149: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_15910587/main.java:151: error: class, interface, or enum expected
int compositeNodeCount() { ret _compositeNodeCount(root); }
^
/root/JavaX-Caches/tmp_15910587/main.java:153: error: class, interface, or enum expected
abstract A defaultValue();
^
/root/JavaX-Caches/tmp_15910587/main.java:154: error: class, interface, or enum expected
}
^
74 errors