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

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

/root/JavaX-Caches/tmp_1294576612/main.java:1: error: class, interface, or enum expected srecord noeq ImageSimplifier(BufferedImage inputImage) { ^ /root/JavaX-Caches/tmp_1294576612/main.java:10: error: class, interface, or enum expected bool verbose, verboseImageSize, debug; ^ /root/JavaX-Caches/tmp_1294576612/main.java:14: error: class, interface, or enum expected new Map<Rect, IIntegralImage> clipCache; ^ /root/JavaX-Caches/tmp_1294576612/main.java:18: error: class, interface, or enum expected static final int grayscale = 3; // channel number for grayscale ^ /root/JavaX-Caches/tmp_1294576612/main.java:19: error: class, interface, or enum expected static final int channels = 4; ^ /root/JavaX-Caches/tmp_1294576612/main.java:23: error: class, interface, or enum expected long maxSteps = 1000; ^ /root/JavaX-Caches/tmp_1294576612/main.java:27: error: class, interface, or enum expected double featureSize = 0.1; ^ /root/JavaX-Caches/tmp_1294576612/main.java:29: error: class, interface, or enum expected long steps; ^ /root/JavaX-Caches/tmp_1294576612/main.java:30: error: class, interface, or enum expected double lowestExecutedProbability; ^ /root/JavaX-Caches/tmp_1294576612/main.java:34: error: class, interface, or enum expected new ProbabilisticList<IIntegralImage> liveliestPoints; ^ /root/JavaX-Caches/tmp_1294576612/main.java:38: error: class, interface, or enum expected ProbabilisticList<IIntegralImage> scheduler; ^ /root/JavaX-Caches/tmp_1294576612/main.java:39: error: class, interface, or enum expected Set<IIntegralImage> lookedAt; ^ /root/JavaX-Caches/tmp_1294576612/main.java:41: error: '{' expected abstract class IIntegralImage implements main IIntegralImage { ^ /root/JavaX-Caches/tmp_1294576612/main.java:56: error: ';' expected ret imageFromFunction(w, h, (x, y) -> rgbPixel(x, y, x+1, y+1) | fullAlphaMask()); ^ /root/JavaX-Caches/tmp_1294576612/main.java:56: error: not a statement ret imageFromFunction(w, h, (x, y) -> rgbPixel(x, y, x+1, y+1) | fullAlphaMask()); ^ /root/JavaX-Caches/tmp_1294576612/main.java:56: error: ';' expected ret imageFromFunction(w, h, (x, y) -> rgbPixel(x, y, x+1, y+1) | fullAlphaMask()); ^ /root/JavaX-Caches/tmp_1294576612/main.java:56: error: not a statement ret imageFromFunction(w, h, (x, y) -> rgbPixel(x, y, x+1, y+1) | fullAlphaMask()); ^ /root/JavaX-Caches/tmp_1294576612/main.java:56: error: ';' expected ret imageFromFunction(w, h, (x, y) -> rgbPixel(x, y, x+1, y+1) | fullAlphaMask()); ^ /root/JavaX-Caches/tmp_1294576612/main.java:56: error: not a statement ret imageFromFunction(w, h, (x, y) -> rgbPixel(x, y, x+1, y+1) | fullAlphaMask()); ^ /root/JavaX-Caches/tmp_1294576612/main.java:56: error: ';' expected ret imageFromFunction(w, h, (x, y) -> rgbPixel(x, y, x+1, y+1) | fullAlphaMask()); ^ /root/JavaX-Caches/tmp_1294576612/main.java:56: error: not a statement ret imageFromFunction(w, h, (x, y) -> rgbPixel(x, y, x+1, y+1) | fullAlphaMask()); ^ /root/JavaX-Caches/tmp_1294576612/main.java:56: error: ';' expected ret imageFromFunction(w, h, (x, y) -> rgbPixel(x, y, x+1, y+1) | fullAlphaMask()); ^ /root/JavaX-Caches/tmp_1294576612/main.java:56: error: not a statement ret imageFromFunction(w, h, (x, y) -> rgbPixel(x, y, x+1, y+1) | fullAlphaMask()); ^ /root/JavaX-Caches/tmp_1294576612/main.java:56: error: ';' expected ret imageFromFunction(w, h, (x, y) -> rgbPixel(x, y, x+1, y+1) | fullAlphaMask()); ^ /root/JavaX-Caches/tmp_1294576612/main.java:60: error: ';' expected ret getPixel(r.x, r.y, r.x2(), r.y2(), channel); ^ /root/JavaX-Caches/tmp_1294576612/main.java:60: error: not a statement ret getPixel(r.x, r.y, r.x2(), r.y2(), channel); ^ /root/JavaX-Caches/tmp_1294576612/main.java:60: error: ';' expected ret getPixel(r.x, r.y, r.x2(), r.y2(), channel); ^ /root/JavaX-Caches/tmp_1294576612/main.java:60: error: not a statement ret getPixel(r.x, r.y, r.x2(), r.y2(), channel); ^ /root/JavaX-Caches/tmp_1294576612/main.java:60: error: ';' expected ret getPixel(r.x, r.y, r.x2(), r.y2(), channel); ^ /root/JavaX-Caches/tmp_1294576612/main.java:60: error: ';' expected ret getPixel(r.x, r.y, r.x2(), r.y2(), channel); ^ /root/JavaX-Caches/tmp_1294576612/main.java:60: error: ';' expected ret getPixel(r.x, r.y, r.x2(), r.y2(), channel); ^ /root/JavaX-Caches/tmp_1294576612/main.java:60: error: not a statement ret getPixel(r.x, r.y, r.x2(), r.y2(), channel); ^ /root/JavaX-Caches/tmp_1294576612/main.java:60: error: ';' expected ret getPixel(r.x, r.y, r.x2(), r.y2(), channel); ^ /root/JavaX-Caches/tmp_1294576612/main.java:63: error: ';' expected double getPixel(int channel) { ret getPixel(0, 0, w, h, channel); } ^ /root/JavaX-Caches/tmp_1294576612/main.java:63: error: not a statement double getPixel(int channel) { ret getPixel(0, 0, w, h, channel); } ^ /root/JavaX-Caches/tmp_1294576612/main.java:63: error: ';' expected double getPixel(int channel) { ret getPixel(0, 0, w, h, channel); } ^ /root/JavaX-Caches/tmp_1294576612/main.java:63: error: not a statement double getPixel(int channel) { ret getPixel(0, 0, w, h, channel); } ^ /root/JavaX-Caches/tmp_1294576612/main.java:63: error: ';' expected double getPixel(int channel) { ret getPixel(0, 0, w, h, channel); } ^ /root/JavaX-Caches/tmp_1294576612/main.java:63: error: not a statement double getPixel(int channel) { ret getPixel(0, 0, w, h, channel); } ^ /root/JavaX-Caches/tmp_1294576612/main.java:63: error: ';' expected double getPixel(int channel) { ret getPixel(0, 0, w, h, channel); } ^ /root/JavaX-Caches/tmp_1294576612/main.java:67: error: ';' expected ret doubleRatio(rectSum(x1, y1, x2, y2, channel), (x2-x1)*(y2-y1)*255.0); ^ /root/JavaX-Caches/tmp_1294576612/main.java:67: error: ';' expected ret doubleRatio(rectSum(x1, y1, x2, y2, channel), (x2-x1)*(y2-y1)*255.0); ^ /root/JavaX-Caches/tmp_1294576612/main.java:67: error: not a statement ret doubleRatio(rectSum(x1, y1, x2, y2, channel), (x2-x1)*(y2-y1)*255.0); ^ /root/JavaX-Caches/tmp_1294576612/main.java:67: error: ';' expected ret doubleRatio(rectSum(x1, y1, x2, y2, channel), (x2-x1)*(y2-y1)*255.0); ^ /root/JavaX-Caches/tmp_1294576612/main.java:67: error: not a statement ret doubleRatio(rectSum(x1, y1, x2, y2, channel), (x2-x1)*(y2-y1)*255.0); ^ /root/JavaX-Caches/tmp_1294576612/main.java:67: error: ';' expected ret doubleRatio(rectSum(x1, y1, x2, y2, channel), (x2-x1)*(y2-y1)*255.0); ^ /root/JavaX-Caches/tmp_1294576612/main.java:71: error: ';' expected ret rectSum(r.x, r.y, r.x2(), r.y2(), channel); ^ /root/JavaX-Caches/tmp_1294576612/main.java:71: error: not a statement ret rectSum(r.x, r.y, r.x2(), r.y2(), channel); ^ /root/JavaX-Caches/tmp_1294576612/main.java:71: error: ';' expected ret rectSum(r.x, r.y, r.x2(), r.y2(), channel); ^ /root/JavaX-Caches/tmp_1294576612/main.java:71: error: not a statement ret rectSum(r.x, r.y, r.x2(), r.y2(), channel); ^ /root/JavaX-Caches/tmp_1294576612/main.java:71: error: ';' expected ret rectSum(r.x, r.y, r.x2(), r.y2(), channel); ^ /root/JavaX-Caches/tmp_1294576612/main.java:71: error: ';' expected ret rectSum(r.x, r.y, r.x2(), r.y2(), channel); ^ /root/JavaX-Caches/tmp_1294576612/main.java:71: error: ';' expected ret rectSum(r.x, r.y, r.x2(), r.y2(), channel); ^ /root/JavaX-Caches/tmp_1294576612/main.java:71: error: not a statement ret rectSum(r.x, r.y, r.x2(), r.y2(), channel); ^ /root/JavaX-Caches/tmp_1294576612/main.java:71: error: ';' expected ret rectSum(r.x, r.y, r.x2(), r.y2(), channel); ^ /root/JavaX-Caches/tmp_1294576612/main.java:79: error: ';' expected ret bottomRight-topRight-bottomLeft+topLeft; ^ /root/JavaX-Caches/tmp_1294576612/main.java:79: error: not a statement ret bottomRight-topRight-bottomLeft+topLeft; ^ /root/JavaX-Caches/tmp_1294576612/main.java:86: error: ';' expected ret rgbInt(r, g, b); ^ /root/JavaX-Caches/tmp_1294576612/main.java:86: error: not a statement ret rgbInt(r, g, b); ^ /root/JavaX-Caches/tmp_1294576612/main.java:86: error: ';' expected ret rgbInt(r, g, b); ^ /root/JavaX-Caches/tmp_1294576612/main.java:86: error: not a statement ret rgbInt(r, g, b); ^ /root/JavaX-Caches/tmp_1294576612/main.java:86: error: ';' expected ret rgbInt(r, g, b); ^ /root/JavaX-Caches/tmp_1294576612/main.java:86: error: not a statement ret rgbInt(r, g, b); ^ /root/JavaX-Caches/tmp_1294576612/main.java:86: error: ';' expected ret rgbInt(r, g, b); ^ /root/JavaX-Caches/tmp_1294576612/main.java:101: error: ';' expected ret uniquify(listMinus(descentShapes(), this)); ^ /root/JavaX-Caches/tmp_1294576612/main.java:101: error: ';' expected ret uniquify(listMinus(descentShapes(), this)); ^ /root/JavaX-Caches/tmp_1294576612/main.java:105: error: ';' expected ret centerPlusQuadrants(); ^ /root/JavaX-Caches/tmp_1294576612/main.java:111: error: ';' expected ret itemPlusList(clip(r), quadrants()); ^ /root/JavaX-Caches/tmp_1294576612/main.java:111: error: ';' expected ret itemPlusList(clip(r), quadrants()); ^ /root/JavaX-Caches/tmp_1294576612/main.java:111: error: ';' expected ret itemPlusList(clip(r), quadrants()); ^ /root/JavaX-Caches/tmp_1294576612/main.java:115: error: not a statement if (w <= 1 && h <= 1) null; // let's really not have quadrants of a single pixel ^ /root/JavaX-Caches/tmp_1294576612/main.java:117: error: ';' expected ret mapLL clip( ^ /root/JavaX-Caches/tmp_1294576612/main.java:126: error: ';' expected ret highestBy(q -> q.liveliness(channel), quadrants()); ^ /root/JavaX-Caches/tmp_1294576612/main.java:126: error: not a statement ret highestBy(q -> q.liveliness(channel), quadrants()); ^ /root/JavaX-Caches/tmp_1294576612/main.java:126: error: ';' expected ret highestBy(q -> q.liveliness(channel), quadrants()); ^ /root/JavaX-Caches/tmp_1294576612/main.java:126: error: ';' expected ret highestBy(q -> q.liveliness(channel), quadrants()); ^ /root/JavaX-Caches/tmp_1294576612/main.java:130: error: not a statement ret new ProbabilisticList<IIntegralImage>(map(descentShapes(), shape -> ^ /root/JavaX-Caches/tmp_1294576612/main.java:130: error: ';' expected ret new ProbabilisticList<IIntegralImage>(map(descentShapes(), shape -> ^ /root/JavaX-Caches/tmp_1294576612/main.java:137: error: not a statement if (r.x == 0 && r.y == 0 && r.w == w && r.h == h) this; ^ /root/JavaX-Caches/tmp_1294576612/main.java:138: error: ';' expected ret actuallyClip(r); ^ /root/JavaX-Caches/tmp_1294576612/main.java:138: error: not a statement ret actuallyClip(r); ^ /root/JavaX-Caches/tmp_1294576612/main.java:138: error: ';' expected ret actuallyClip(r); ^ /root/JavaX-Caches/tmp_1294576612/main.java:142: error: ';' expected ret newClip(this, r); ^ /root/JavaX-Caches/tmp_1294576612/main.java:142: error: not a statement ret newClip(this, r); ^ /root/JavaX-Caches/tmp_1294576612/main.java:142: error: ';' expected ret newClip(this, r); ^ /root/JavaX-Caches/tmp_1294576612/main.java:142: error: not a statement ret newClip(this, r); ^ /root/JavaX-Caches/tmp_1294576612/main.java:142: error: ';' expected ret newClip(this, r); ^ /root/JavaX-Caches/tmp_1294576612/main.java:145: error: ';' expected public IIntegralImage clip(int x1, int y1, int w, int h) { ret clip(rect(x1, y1, w, h)); } ^ /root/JavaX-Caches/tmp_1294576612/main.java:145: error: ';' expected public IIntegralImage clip(int x1, int y1, int w, int h) { ret clip(rect(x1, y1, w, h)); } ^ /root/JavaX-Caches/tmp_1294576612/main.java:148: error: not a statement ret this == mainImage ? positionInImage() : null; ^ /root/JavaX-Caches/tmp_1294576612/main.java:148: error: ';' expected ret this == mainImage ? positionInImage() : null; ^ /root/JavaX-Caches/tmp_1294576612/main.java:148: error: not a statement ret this == mainImage ? positionInImage() : null; ^ /root/JavaX-Caches/tmp_1294576612/main.java:152: error: ';' expected ret rect(0, 0, w, h); ^ /root/JavaX-Caches/tmp_1294576612/main.java:152: error: not a statement ret rect(0, 0, w, h); ^ /root/JavaX-Caches/tmp_1294576612/main.java:152: error: ';' expected ret rect(0, 0, w, h); ^ /root/JavaX-Caches/tmp_1294576612/main.java:152: error: not a statement ret rect(0, 0, w, h); ^ /root/JavaX-Caches/tmp_1294576612/main.java:152: error: ';' expected ret rect(0, 0, w, h); ^ /root/JavaX-Caches/tmp_1294576612/main.java:156: error: ';' expected ret main center(positionInImage()); ^ /root/JavaX-Caches/tmp_1294576612/main.java:159: error: ';' expected double area() { ret w*h; } ^ /root/JavaX-Caches/tmp_1294576612/main.java:159: error: not a statement double area() { ret w*h; } ^ 100 errors only showing the first 100 errors, of 245 total; use -Xmaxerrs if you would like to see more