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

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

/root/JavaX-Caches/tmp_13394759/main.java:1: error: class, interface, or enum expected !7 ^ /root/JavaX-Caches/tmp_13394759/main.java:5: error: class, interface, or enum expected Image332 preview; ^ /root/JavaX-Caches/tmp_13394759/main.java:6: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_13394759/main.java:10: error: class, interface, or enum expected Pt point; ^ /root/JavaX-Caches/tmp_13394759/main.java:11: error: class, interface, or enum expected new MultiSet<Rect> sizes; ^ /root/JavaX-Caches/tmp_13394759/main.java:12: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_13394759/main.java:16: error: class, interface, or enum expected awt { ^ /root/JavaX-Caches/tmp_13394759/main.java:22: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_13394759/main.java:26: error: class, interface, or enum expected trackOneClick(voidfunc(final Point p) { ^ /root/JavaX-Caches/tmp_13394759/main.java:29: error: class, interface, or enum expected Grab grab = cnew(Grab, ^ /root/JavaX-Caches/tmp_13394759/main.java:33: error: class, interface, or enum expected infoBox("Grabbed! " + grab.id); ^ /root/JavaX-Caches/tmp_13394759/main.java:34: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_13394759/main.java:36: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_13394759/main.java:40: error: class, interface, or enum expected RGBImage imgB = rgbShootScreen(); ^ /root/JavaX-Caches/tmp_13394759/main.java:41: error: class, interface, or enum expected int w = imgB.w(), h = imgB.h(); ^ /root/JavaX-Caches/tmp_13394759/main.java:42: error: class, interface, or enum expected for (Grab grab) { ^ /root/JavaX-Caches/tmp_13394759/main.java:44: error: class, interface, or enum expected RGBImage imgA = new RGBImage(grab.screenshot->getImage()); ^ /root/JavaX-Caches/tmp_13394759/main.java:45: error: class, interface, or enum expected Pt p = grab.point; ^ /root/JavaX-Caches/tmp_13394759/main.java:46: error: class, interface, or enum expected int col = imgA.getInt(p.x, p.y); ^ /root/JavaX-Caches/tmp_13394759/main.java:47: error: class, interface, or enum expected new MultiSet<Rect> matches; ^ /root/JavaX-Caches/tmp_13394759/main.java:48: error: class, interface, or enum expected for y to h: for x to w: ^ /root/JavaX-Caches/tmp_13394759/main.java:51: error: class, interface, or enum expected Rect r2 = new Rect(x, y, 1, 1); ^ /root/JavaX-Caches/tmp_13394759/main.java:52: error: class, interface, or enum expected Rect r = translateRect(rgbExpandMatch(imgA, imgB, r1, r2, ppt), -p.x, -p.y); ^ /root/JavaX-Caches/tmp_13394759/main.java:53: error: class, interface, or enum expected matches.add(r); ^ /root/JavaX-Caches/tmp_13394759/main.java:54: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_13394759/main.java:56: error: class, interface, or enum expected Rect r = first(matchesList); ^ /root/JavaX-Caches/tmp_13394759/main.java:57: error: class, interface, or enum expected if (r != null) ^ /root/JavaX-Caches/tmp_13394759/main.java:59: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_13394759/main.java:61: error: class, interface, or enum expected grab.sizes.addAll(matches); ^ /root/JavaX-Caches/tmp_13394759/main.java:62: error: class, interface, or enum expected grab.change(); ^ /root/JavaX-Caches/tmp_13394759/main.java:63: error: class, interface, or enum expected } ^ 31 errors