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

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

/root/JavaX-Caches/tmp_1813333497/main.java:2: error: class, interface, or enum expected sclass OCRCompass implements Renderable { ^ /root/JavaX-Caches/tmp_1813333497/main.java:6: error: class, interface, or enum expected IBWIntegralImage image; ^ /root/JavaX-Caches/tmp_1813333497/main.java:7: error: class, interface, or enum expected Pt center; // point we're looking at ^ /root/JavaX-Caches/tmp_1813333497/main.java:8: error: class, interface, or enum expected double radius = 16; // radius of circle ^ /root/JavaX-Caches/tmp_1813333497/main.java:9: error: class, interface, or enum expected int sensorFootprint = 0; // size of each "pixel" (rectangle) to grab - defaults to radius ^ /root/JavaX-Caches/tmp_1813333497/main.java:10: error: class, interface, or enum expected int steps = 12; // how many segments of circle (=steps/2 line orientations). should be even ^ /root/JavaX-Caches/tmp_1813333497/main.java:11: error: class, interface, or enum expected int blur; // blur width ^ /root/JavaX-Caches/tmp_1813333497/main.java:12: error: class, interface, or enum expected double[] values; // brightnesses at each point (low=foreground) ^ /root/JavaX-Caches/tmp_1813333497/main.java:13: error: class, interface, or enum expected L<Rect> sensors; ^ /root/JavaX-Caches/tmp_1813333497/main.java:15: error: class, interface, or enum expected L<Rect> sensors() { ^ /root/JavaX-Caches/tmp_1813333497/main.java:18: error: class, interface, or enum expected ret sensors; ^ /root/JavaX-Caches/tmp_1813333497/main.java:19: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1813333497/main.java:21: error: class, interface, or enum expected int angles() { ret steps/2; } ^ /root/JavaX-Caches/tmp_1813333497/main.java:25: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1813333497/main.java:29: error: class, interface, or enum expected if (l(values) != angles()) values = new double[angles()]; ^ /root/JavaX-Caches/tmp_1813333497/main.java:30: error: class, interface, or enum expected for i over values: values[i] = avg( ^ /root/JavaX-Caches/tmp_1813333497/main.java:33: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1813333497/main.java:35: error: class, interface, or enum expected void ensureComputed { if (values == null) compute(); } ^ /root/JavaX-Caches/tmp_1813333497/main.java:38: error: class, interface, or enum expected ret indexOfMinOrMaxEntryInDoubleArray(brightForeground, values)*twoPi()/steps; ^ /root/JavaX-Caches/tmp_1813333497/main.java:39: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1813333497/main.java:41: error: class, interface, or enum expected public void renderOn(Graphics2D g, int w, int h) { ensureComputed(); ^ /root/JavaX-Caches/tmp_1813333497/main.java:42: error: class, interface, or enum expected renderRenderables(g, w, h, zipAndMap(sensors(), repeatList(2, asList(values)), ^ /root/JavaX-Caches/tmp_1813333497/main.java:44: error: class, interface, or enum expected drawRotatedRoundEdgeLine(g, center, mostLikelyAngle(), radius*1.5, Color.green, radius/3f); ^ /root/JavaX-Caches/tmp_1813333497/main.java:45: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1813333497/main.java:49: error: class, interface, or enum expected } ^ 25 errors