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

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

/root/JavaX-Caches/tmp_238316152/main.java:1: error: class, interface, or enum expected srecord noeq G22SkeletonWalker<Img extends WidthAndHeight>(IImageRegion<Img> region) is Steppable { ^ /root/JavaX-Caches/tmp_238316152/main.java:4: error: class, interface, or enum expected settable int minDist = 3; ^ /root/JavaX-Caches/tmp_238316152/main.java:7: error: class, interface, or enum expected new Map<Pt> ptMap; ^ /root/JavaX-Caches/tmp_238316152/main.java:11: error: class, interface, or enum expected bool initialized; ^ /root/JavaX-Caches/tmp_238316152/main.java:14: error: class, interface, or enum expected new LinkedList<Pair<Pt>> queue; ^ /root/JavaX-Caches/tmp_238316152/main.java:16: error: class, interface, or enum expected public bool step() { ^ /root/JavaX-Caches/tmp_238316152/main.java:20: error: class, interface, or enum expected Pt p = region.firstPixel(); ^ /root/JavaX-Caches/tmp_238316152/main.java:21: error: class, interface, or enum expected if (p == null) false; ^ /root/JavaX-Caches/tmp_238316152/main.java:22: error: class, interface, or enum expected queue.add(pair(null, p)); ^ /root/JavaX-Caches/tmp_238316152/main.java:23: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_238316152/main.java:27: error: class, interface, or enum expected Pair<Pt> pair = popFirst(queue); ^ /root/JavaX-Caches/tmp_238316152/main.java:28: error: class, interface, or enum expected Pt prev = pair.a, p = pair.b; ^ /root/JavaX-Caches/tmp_238316152/main.java:30: error: class, interface, or enum expected Pt mapped = lookupOrKeep(ptMap, p); ^ /root/JavaX-Caches/tmp_238316152/main.java:31: error: class, interface, or enum expected bool seen = ptMap.containsKey(p); ^ /root/JavaX-Caches/tmp_238316152/main.java:32: error: class, interface, or enum expected Pt mapTo = p; ^ /root/JavaX-Caches/tmp_238316152/main.java:34: error: class, interface, or enum expected if (prev != null) { ^ /root/JavaX-Caches/tmp_238316152/main.java:37: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_238316152/main.java:39: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_238316152/main.java:43: error: class, interface, or enum expected Pt linkFrom = mapTo; ^ /root/JavaX-Caches/tmp_238316152/main.java:44: error: class, interface, or enum expected for (int dir = 1; dir <= 8; dir++) { ^ /root/JavaX-Caches/tmp_238316152/main.java:44: error: class, interface, or enum expected for (int dir = 1; dir <= 8; dir++) { ^ /root/JavaX-Caches/tmp_238316152/main.java:44: error: class, interface, or enum expected for (int dir = 1; dir <= 8; dir++) { ^ /root/JavaX-Caches/tmp_238316152/main.java:46: error: class, interface, or enum expected if (region.contains(p2)) ^ /root/JavaX-Caches/tmp_238316152/main.java:48: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_238316152/main.java:52: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_238316152/main.java:57: error: class, interface, or enum expected } ^ 26 errors