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

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

/root/JavaX-Caches/tmp_1043544799/main.java:1: error: class, interface, or enum expected sclass MultiLevelRecognizer1 { ^ /root/JavaX-Caches/tmp_1043544799/main.java:6: error: class, interface, or enum expected transient JTabbedPane tabs; // initialize if you want visualization ^ /root/JavaX-Caches/tmp_1043544799/main.java:8: error: class, interface, or enum expected transient BWIntegralImage baseImage; ^ /root/JavaX-Caches/tmp_1043544799/main.java:9: error: class, interface, or enum expected transient BWImage prototypeImage; ^ /root/JavaX-Caches/tmp_1043544799/main.java:10: error: class, interface, or enum expected transient L<Int> widths = ll(32, 64, 128); ^ /root/JavaX-Caches/tmp_1043544799/main.java:11: error: class, interface, or enum expected transient new L<IBWIntegralImage> integralImages; ^ /root/JavaX-Caches/tmp_1043544799/main.java:12: error: class, interface, or enum expected transient new L<OneLevel> levels; // recognizers for each granularity ^ /root/JavaX-Caches/tmp_1043544799/main.java:23: error: illegal start of type new Set<Pt> candidatesTried; ^ /root/JavaX-Caches/tmp_1043544799/main.java:26: error: illegal start of type *(IBWIntegralImage *ii) { ^ /root/JavaX-Caches/tmp_1043544799/main.java:26: error: <identifier> expected *(IBWIntegralImage *ii) { ^ /root/JavaX-Caches/tmp_1043544799/main.java:26: error: <identifier> expected *(IBWIntegralImage *ii) { ^ /root/JavaX-Caches/tmp_1043544799/main.java:34: error: ';' expected candidatesStream = mapI rectTopLeftCorner(allSubRectsOfSizeIterator(prototype.getWidth(), prototype.getHeight(), ^ /root/JavaX-Caches/tmp_1043544799/main.java:40: error: not a statement if (p != null) ret true with tryCandidate(p); ^ /root/JavaX-Caches/tmp_1043544799/main.java:40: error: ';' expected if (p != null) ret true with tryCandidate(p); ^ /root/JavaX-Caches/tmp_1043544799/main.java:40: error: ';' expected if (p != null) ret true with tryCandidate(p); ^ /root/JavaX-Caches/tmp_1043544799/main.java:40: error: not a statement if (p != null) ret true with tryCandidate(p); ^ /root/JavaX-Caches/tmp_1043544799/main.java:40: error: ';' expected if (p != null) ret true with tryCandidate(p); ^ /root/JavaX-Caches/tmp_1043544799/main.java:41: error: not a statement false; ^ /root/JavaX-Caches/tmp_1043544799/main.java:45: error: '{' expected try object Pt p = popFirst(candidatesQueue); ^ /root/JavaX-Caches/tmp_1043544799/main.java:45: error: ';' expected try object Pt p = popFirst(candidatesQueue); ^ /root/JavaX-Caches/tmp_1043544799/main.java:46: error: ';' expected ret nextFromIterator(candidatesStream); ^ /root/JavaX-Caches/tmp_1043544799/main.java:46: error: not a statement ret nextFromIterator(candidatesStream); ^ /root/JavaX-Caches/tmp_1043544799/main.java:46: error: ';' expected ret nextFromIterator(candidatesStream); ^ /root/JavaX-Caches/tmp_1043544799/main.java:45: error: 'try' without 'catch', 'finally' or resource declarations try object Pt p = popFirst(candidatesQueue); ^ /root/JavaX-Caches/tmp_1043544799/main.java:49: error: illegal start of expression void tryCandidate(Pt p) { ^ /root/JavaX-Caches/tmp_1043544799/main.java:49: error: ';' expected void tryCandidate(Pt p) { ^ /root/JavaX-Caches/tmp_1043544799/main.java:49: error: ';' expected void tryCandidate(Pt p) { ^ /root/JavaX-Caches/tmp_1043544799/main.java:50: error: not a statement if (!candidatesTried.add(p)) ret; ^ /root/JavaX-Caches/tmp_1043544799/main.java:60: error: illegal start of expression void showBest() { ^ /root/JavaX-Caches/tmp_1043544799/main.java:60: error: ';' expected void showBest() { ^ /root/JavaX-Caches/tmp_1043544799/main.java:61: error: ')' expected setImageSurfaceSelection(is, best!); ^ /root/JavaX-Caches/tmp_1043544799/main.java:65: error: ';' expected Rect bestRescaled() { ^ /root/JavaX-Caches/tmp_1043544799/main.java:66: error: ';' expected ret rescaleRect(best!, ii.getWidth(), ii.getHeight(), ^ /root/JavaX-Caches/tmp_1043544799/main.java:66: error: not a statement ret rescaleRect(best!, ii.getWidth(), ii.getHeight(), ^ /root/JavaX-Caches/tmp_1043544799/main.java:66: error: ';' expected ret rescaleRect(best!, ii.getWidth(), ii.getHeight(), ^ /root/JavaX-Caches/tmp_1043544799/main.java:66: error: ';' expected ret rescaleRect(best!, ii.getWidth(), ii.getHeight(), ^ /root/JavaX-Caches/tmp_1043544799/main.java:66: error: ';' expected ret rescaleRect(best!, ii.getWidth(), ii.getHeight(), ^ /root/JavaX-Caches/tmp_1043544799/main.java:67: error: ';' expected baseImage.getWidth(), baseImage.getHeight()); ^ /root/JavaX-Caches/tmp_1043544799/main.java:67: error: ';' expected baseImage.getWidth(), baseImage.getHeight()); ^ /root/JavaX-Caches/tmp_1043544799/main.java:70: error: ';' expected Scored<Rect> scoredBestRescaled() { ^ /root/JavaX-Caches/tmp_1043544799/main.java:71: error: ';' expected ret scored(bestRescaled(), best.score); ^ /root/JavaX-Caches/tmp_1043544799/main.java:71: error: ';' expected ret scored(bestRescaled(), best.score); ^ /root/JavaX-Caches/tmp_1043544799/main.java:71: error: not a statement ret scored(bestRescaled(), best.score); ^ /root/JavaX-Caches/tmp_1043544799/main.java:71: error: ';' expected ret scored(bestRescaled(), best.score); ^ /root/JavaX-Caches/tmp_1043544799/main.java:75: error: illegal start of type *() {} ^ /root/JavaX-Caches/tmp_1043544799/main.java:76: error: illegal start of type *(File prototypeImage, File imgFile) { ^ /root/JavaX-Caches/tmp_1043544799/main.java:76: error: ';' expected *(File prototypeImage, File imgFile) { ^ /root/JavaX-Caches/tmp_1043544799/main.java:76: error: <identifier> expected *(File prototypeImage, File imgFile) { ^ /root/JavaX-Caches/tmp_1043544799/main.java:88: error: <identifier> expected OneLevel lvl = new(ii); ^ /root/JavaX-Caches/tmp_1043544799/main.java:100: error: not a statement time "Process" { ^ /root/JavaX-Caches/tmp_1043544799/main.java:100: error: ';' expected time "Process" { ^ /root/JavaX-Caches/tmp_1043544799/main.java:107: error: ';' expected ret bestResult(); ^ /root/JavaX-Caches/tmp_1043544799/main.java:111: error: ';' expected ret last(levels).scoredBestRescaled(); ^ /root/JavaX-Caches/tmp_1043544799/main.java:111: error: not a statement ret last(levels).scoredBestRescaled(); ^ /root/JavaX-Caches/tmp_1043544799/main.java:111: error: ';' expected ret last(levels).scoredBestRescaled(); ^ 55 errors