Wrote /root/JavaX-Caches/tmp_1216610889/main.java - 1454 bytes (written=1454, should be 1454) 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_1715273957 /root/JavaX-Caches/tmp_1216610889/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_1216610889/main.java:1: error: class, interface, or enum expected srecord noeq G22_RegionToSSIs(IImageRegion region) { ^ /root/JavaX-Caches/tmp_1216610889/main.java:3: error: class, interface, or enum expected L<SSI> ssis; ^ /root/JavaX-Caches/tmp_1216610889/main.java:4: error: class, interface, or enum expected new L<GrowingSSI> growingSSIs; ^ /root/JavaX-Caches/tmp_1216610889/main.java:7: error: <identifier> expected settable int y1; ^ /root/JavaX-Caches/tmp_1216610889/main.java:8: error: illegal start of type new ShortBuffer data; ^ /root/JavaX-Caches/tmp_1216610889/main.java:10: error: ';' expected int y2() { ret y1+l(data)/2; } ^ /root/JavaX-Caches/tmp_1216610889/main.java:10: error: not a statement int y2() { ret y1+l(data)/2; } ^ /root/JavaX-Caches/tmp_1216610889/main.java:13: error: not a statement ret new SSI(y1, y2()).data(data.toArray()) ^ /root/JavaX-Caches/tmp_1216610889/main.java:13: error: ';' expected ret new SSI(y1, y2()).data(data.toArray()) ^ /root/JavaX-Caches/tmp_1216610889/main.java:18: error: class, interface, or enum expected L<SSI> get() { ^ /root/JavaX-Caches/tmp_1216610889/main.java:21: error: class, interface, or enum expected color = region.color(); ^ /root/JavaX-Caches/tmp_1216610889/main.java:22: error: class, interface, or enum expected ssis = new L; ^ /root/JavaX-Caches/tmp_1216610889/main.java:23: error: class, interface, or enum expected Rect r = region.bounds(); ^ /root/JavaX-Caches/tmp_1216610889/main.java:24: error: class, interface, or enum expected int x1 = r.x1(), y1 = r.y1(), y2 = r.y2(), h = y2-y1, w = r.w; ^ /root/JavaX-Caches/tmp_1216610889/main.java:25: error: class, interface, or enum expected for (int y = y1; y < y2; y++) { ^ /root/JavaX-Caches/tmp_1216610889/main.java:25: error: class, interface, or enum expected for (int y = y1; y < y2; y++) { ^ /root/JavaX-Caches/tmp_1216610889/main.java:25: error: class, interface, or enum expected for (int y = y1; y < y2; y++) { ^ /root/JavaX-Caches/tmp_1216610889/main.java:27: error: class, interface, or enum expected L<IntRange> streaks = genericStreaks(w, x -> region.contains(x1+x, y)); ^ /root/JavaX-Caches/tmp_1216610889/main.java:30: error: class, interface, or enum expected while (longerThan(growingSSIs, streaks)) ^ /root/JavaX-Caches/tmp_1216610889/main.java:36: error: class, interface, or enum expected for (int i = l(growingSSIs); i < l(streaks); i++) ^ /root/JavaX-Caches/tmp_1216610889/main.java:36: error: class, interface, or enum expected for (int i = l(growingSSIs); i < l(streaks); i++) ^ /root/JavaX-Caches/tmp_1216610889/main.java:36: error: class, interface, or enum expected for (int i = l(growingSSIs); i < l(streaks); i++) ^ /root/JavaX-Caches/tmp_1216610889/main.java:40: error: class, interface, or enum expected for (ssi, range : unpair zipTwoLists(growingSSIs, streaks)) { ^ /root/JavaX-Caches/tmp_1216610889/main.java:42: error: class, interface, or enum expected ssi.data.add(toShort_enforce(x1+range.end)); ^ /root/JavaX-Caches/tmp_1216610889/main.java:43: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1216610889/main.java:49: error: class, interface, or enum expected ret ssis; ^ /root/JavaX-Caches/tmp_1216610889/main.java:50: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1216610889/main.java:54: error: class, interface, or enum expected } ^ 28 errors