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

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

/root/JavaX-Caches/tmp_1754121860/main.java:1: error: class, interface, or enum expected sclass ShootLoop implements Runnable { ^ /root/JavaX-Caches/tmp_1754121860/main.java:3: error: class, interface, or enum expected BufferedImage originalScreen; ^ /root/JavaX-Caches/tmp_1754121860/main.java:4: error: class, interface, or enum expected int screenWidth, screenHeight; ^ /root/JavaX-Caches/tmp_1754121860/main.java:5: error: class, interface, or enum expected ImageSurface isThumb; ^ /root/JavaX-Caches/tmp_1754121860/main.java:6: error: class, interface, or enum expected new L<Rect> selections; ^ /root/JavaX-Caches/tmp_1754121860/main.java:7: error: class, interface, or enum expected S state = "Shooting & recognizing"; ^ /root/JavaX-Caches/tmp_1754121860/main.java:8: error: class, interface, or enum expected float precision = 1f; // how sharply to look at the screen ^ /root/JavaX-Caches/tmp_1754121860/main.java:9: error: class, interface, or enum expected bool showThumbnail; ^ /root/JavaX-Caches/tmp_1754121860/main.java:11: error: class, interface, or enum expected public void run() { ^ /root/JavaX-Caches/tmp_1754121860/main.java:14: error: class, interface, or enum expected once(); ^ /root/JavaX-Caches/tmp_1754121860/main.java:15: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1754121860/main.java:19: error: class, interface, or enum expected void step { once(); } ^ /root/JavaX-Caches/tmp_1754121860/main.java:22: error: class, interface, or enum expected shoot(); ^ /root/JavaX-Caches/tmp_1754121860/main.java:23: error: class, interface, or enum expected recognizeEtc(time); ^ /root/JavaX-Caches/tmp_1754121860/main.java:24: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1754121860/main.java:28: error: class, interface, or enum expected printState(time); ^ /root/JavaX-Caches/tmp_1754121860/main.java:29: error: class, interface, or enum expected if (showThumbnail) showThumbnail(); ^ /root/JavaX-Caches/tmp_1754121860/main.java:30: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1754121860/main.java:39: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1754121860/main.java:43: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1754121860/main.java:47: error: class, interface, or enum expected screenWidth = originalScreen.getWidth(); ^ /root/JavaX-Caches/tmp_1754121860/main.java:48: error: class, interface, or enum expected screenHeight = originalScreen.getHeight(); ^ /root/JavaX-Caches/tmp_1754121860/main.java:49: error: class, interface, or enum expected screen = new BWImage(originalScreen); ^ /root/JavaX-Caches/tmp_1754121860/main.java:50: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1754121860/main.java:52: error: class, interface, or enum expected BWImage screen() { ret screen; } ^ /root/JavaX-Caches/tmp_1754121860/main.java:56: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1754121860/main.java:61: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1754121860/main.java:65: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1754121860/main.java:69: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1754121860/main.java:73: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1754121860/main.java:77: error: class, interface, or enum expected ret main.findImageAllInPart(screen(), imageID, r, precision); ^ /root/JavaX-Caches/tmp_1754121860/main.java:78: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1754121860/main.java:82: error: class, interface, or enum expected ret main.findImageAllInPart(screen(), imageID, r, precision); ^ /root/JavaX-Caches/tmp_1754121860/main.java:83: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1754121860/main.java:87: error: class, interface, or enum expected double factor = thumb.getWidth()/(double) screenWidth; ^ /root/JavaX-Caches/tmp_1754121860/main.java:88: error: class, interface, or enum expected new L<Rect> l; ^ /root/JavaX-Caches/tmp_1754121860/main.java:89: error: class, interface, or enum expected for (Rect r : selections) ^ /root/JavaX-Caches/tmp_1754121860/main.java:91: error: class, interface, or enum expected isThumb = showImageWithSelections(thumb, isThumb, l); ^ /root/JavaX-Caches/tmp_1754121860/main.java:92: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1754121860/main.java:96: error: class, interface, or enum expected ret bwImageSectionsSimilar(screen(), pat, screenWidth-pat.getWidth(), 0, precision); ^ /root/JavaX-Caches/tmp_1754121860/main.java:97: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1754121860/main.java:101: error: class, interface, or enum expected ret bwImageSectionsSimilarity2(screen(), pat, screenWidth-pat.getWidth(), 0, 0f); ^ /root/JavaX-Caches/tmp_1754121860/main.java:102: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1754121860/main.java:106: error: class, interface, or enum expected long time = now(); ^ /root/JavaX-Caches/tmp_1754121860/main.java:107: error: class, interface, or enum expected recognizeEtc(time); ^ /root/JavaX-Caches/tmp_1754121860/main.java:108: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1754121860/main.java:112: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1754121860/main.java:116: error: class, interface, or enum expected this.run(); // "this." to soothe standard function adder ^ /root/JavaX-Caches/tmp_1754121860/main.java:117: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1754121860/main.java:121: error: class, interface, or enum expected } ^ 50 errors