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

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

/root/JavaX-Caches/tmp_1743967611/main.java:13: error: not a statement public default Img image() { null; } ^ /root/JavaX-Caches/tmp_1743967611/main.java:16: error: not a statement public default O creator() { null; } ^ /root/JavaX-Caches/tmp_1743967611/main.java:18: error: not a statement public default int indexInCreator() { ret 0; } ^ /root/JavaX-Caches/tmp_1743967611/main.java:18: error: ';' expected public default int indexInCreator() { ret 0; } ^ /root/JavaX-Caches/tmp_1743967611/main.java:21: error: not a statement public default Bool createdWithDiagonals() { null; } ^ /root/JavaX-Caches/tmp_1743967611/main.java:23: error: = expected public default int numberOfPixels aka nPixels() { ret l(pixelIterator()); } ^ /root/JavaX-Caches/tmp_1743967611/main.java:23: error: ';' expected public default int numberOfPixels aka nPixels() { ret l(pixelIterator()); } ^ /root/JavaX-Caches/tmp_1743967611/main.java:23: error: ';' expected public default int numberOfPixels aka nPixels() { ret l(pixelIterator()); } ^ /root/JavaX-Caches/tmp_1743967611/main.java:24: error: ';' expected public default Pt firstPixel() { ret first(pixelIterator()); } ^ /root/JavaX-Caches/tmp_1743967611/main.java:24: error: ';' expected public default Pt firstPixel() { ret first(pixelIterator()); } ^ /root/JavaX-Caches/tmp_1743967611/main.java:28: error: not a statement public default Color color() { null; } ^ /root/JavaX-Caches/tmp_1743967611/main.java:30: error: not a statement public default int brightness() { ret -1; } ^ /root/JavaX-Caches/tmp_1743967611/main.java:33: error: ';' expected ret g22_regionOutline(this); ^ /root/JavaX-Caches/tmp_1743967611/main.java:33: error: not a statement ret g22_regionOutline(this); ^ /root/JavaX-Caches/tmp_1743967611/main.java:33: error: ';' expected ret g22_regionOutline(this); ^ /root/JavaX-Caches/tmp_1743967611/main.java:36: error: not a statement default Image2B toImage2B() { ret new RegionToImage2B(this)!; } ^ /root/JavaX-Caches/tmp_1743967611/main.java:36: error: ';' expected default Image2B toImage2B() { ret new RegionToImage2B(this)!; } ^ /root/JavaX-Caches/tmp_1743967611/main.java:36: error: ';' expected default Image2B toImage2B() { ret new RegionToImage2B(this)!; } ^ /root/JavaX-Caches/tmp_1743967611/main.java:42: error: not a statement default IPixelSet pixelSet() { this; } ^ 19 errors