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

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

/root/JavaX-Caches/tmp_114495000/main.java:1: error: class, interface, or enum expected srecord noeq RecursiveImageSplitter( ^ /root/JavaX-Caches/tmp_114495000/main.java:8: error: class, interface, or enum expected int minPixelSize = 64; // don't dive below this (for the splitting) ^ /root/JavaX-Caches/tmp_114495000/main.java:11: error: '{' expected class Node > Pair<Node> { // funky type ^ /root/JavaX-Caches/tmp_114495000/main.java:11: error: class, interface, or enum expected class Node > Pair<Node> { // funky type ^ /root/JavaX-Caches/tmp_114495000/main.java:13: error: class, interface, or enum expected int color; ^ /root/JavaX-Caches/tmp_114495000/main.java:17: error: class, interface, or enum expected double error; ^ /root/JavaX-Caches/tmp_114495000/main.java:19: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_114495000/main.java:22: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_114495000/main.java:25: error: class, interface, or enum expected double availability() { ret recognizer.relativeArea(position); } ^ /root/JavaX-Caches/tmp_114495000/main.java:29: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_114495000/main.java:31: error: class, interface, or enum expected Rect position() { ret cell.rectInImage(); } ^ /root/JavaX-Caches/tmp_114495000/main.java:35: error: class, interface, or enum expected scheduler.at(p, r splitHorizontally); ^ /root/JavaX-Caches/tmp_114495000/main.java:36: error: class, interface, or enum expected scheduler.at(p, r splitVertically); ^ /root/JavaX-Caches/tmp_114495000/main.java:37: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_114495000/main.java:46: error: '{' expected class Split > Node { ^ /root/JavaX-Caches/tmp_114495000/main.java:51: error: class, interface, or enum expected run { ^ /root/JavaX-Caches/tmp_114495000/main.java:55: error: class, interface, or enum expected root.scheduleSplits(); ^ /root/JavaX-Caches/tmp_114495000/main.java:56: error: class, interface, or enum expected } ^ 18 errors