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

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

/root/JavaX-Caches/tmp_100714265/main.java:1: error: class, interface, or enum expected static boolean empty(Collection c) { ret c == null || c.isEmpty(); } ^ /root/JavaX-Caches/tmp_100714265/main.java:1: error: class, interface, or enum expected static boolean empty(Collection c) { ret c == null || c.isEmpty(); } ^ /root/JavaX-Caches/tmp_100714265/main.java:2: error: class, interface, or enum expected static boolean empty(Iterable c) { ret c == null || !c.iterator().hasNext(); } ^ /root/JavaX-Caches/tmp_100714265/main.java:3: error: class, interface, or enum expected static boolean empty(CharSequence s) { ret s == null || s.length() == 0; } ^ /root/JavaX-Caches/tmp_100714265/main.java:4: error: class, interface, or enum expected static boolean empty(Map map) { ret map == null || map.isEmpty(); } ^ /root/JavaX-Caches/tmp_100714265/main.java:5: error: class, interface, or enum expected static boolean empty(O[] o) { ret o == null || o.length == 0; } ^ /root/JavaX-Caches/tmp_100714265/main.java:6: error: class, interface, or enum expected sbool empty(BitSet bs) { ret bs == null || bs.isEmpty(); } ^ /root/JavaX-Caches/tmp_100714265/main.java:11: error: class, interface, or enum expected if (o instanceof S) ret empty((S) o); ^ /root/JavaX-Caches/tmp_100714265/main.java:12: error: class, interface, or enum expected if (o instanceof Map) ret empty((Map) o); ^ /root/JavaX-Caches/tmp_100714265/main.java:13: error: class, interface, or enum expected if (o instanceof O[]) ret empty((O[]) o); ^ /root/JavaX-Caches/tmp_100714265/main.java:14: error: class, interface, or enum expected if (o instanceof byte[]) ret empty((byte[]) o); ^ /root/JavaX-Caches/tmp_100714265/main.java:15: error: class, interface, or enum expected if (o == null) true; ^ /root/JavaX-Caches/tmp_100714265/main.java:16: error: class, interface, or enum expected throw fail("unknown type for 'empty': " + getType(o)); ^ /root/JavaX-Caches/tmp_100714265/main.java:17: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_100714265/main.java:20: error: class, interface, or enum expected sbool empty(Iterator i) { ret i == null || !i.hasNext(); } ^ /root/JavaX-Caches/tmp_100714265/main.java:22: error: class, interface, or enum expected static bool empty(double[] a) { ret a == null || a.length == 0; } ^ /root/JavaX-Caches/tmp_100714265/main.java:23: error: class, interface, or enum expected static bool empty(float[] a) { ret a == null || a.length == 0; } ^ /root/JavaX-Caches/tmp_100714265/main.java:24: error: class, interface, or enum expected static bool empty(int[] a) { ret a == null || a.length == 0; } ^ /root/JavaX-Caches/tmp_100714265/main.java:25: error: class, interface, or enum expected static bool empty(long[] a) { ret a == null || a.length == 0; } ^ /root/JavaX-Caches/tmp_100714265/main.java:26: error: class, interface, or enum expected static bool empty(byte[] a) { ret a == null || a.length == 0; } ^ /root/JavaX-Caches/tmp_100714265/main.java:27: error: class, interface, or enum expected static bool empty(short[] a) { ret a == null || a.length == 0; } ^ /root/JavaX-Caches/tmp_100714265/main.java:30: error: class, interface, or enum expected static bool empty(MultiSet ms) { ret ms == null || ms.isEmpty(); } ^ /root/JavaX-Caches/tmp_100714265/main.java:34: error: class, interface, or enum expected static bool empty(IMultiMap mm) { ret mm == null || mm.size() == 0; } ^ /root/JavaX-Caches/tmp_100714265/main.java:37: error: class, interface, or enum expected sbool empty(File f) { ret getFileSize(f) == 0; } ^ /root/JavaX-Caches/tmp_100714265/main.java:40: error: class, interface, or enum expected sbool empty(IntRange r) { ret r == null || r.empty(); } ^ /root/JavaX-Caches/tmp_100714265/main.java:44: error: class, interface, or enum expected sbool empty(DoubleRange r) { ret r == null || r.isEmpty(); } ^ /root/JavaX-Caches/tmp_100714265/main.java:48: error: class, interface, or enum expected sbool empty(IntBuffer b) { ret b == null || b.isEmpty(); } ^ /root/JavaX-Caches/tmp_100714265/main.java:52: error: class, interface, or enum expected sbool empty(LongBuffer b) { ret b == null || b.isEmpty(); } ^ /root/JavaX-Caches/tmp_100714265/main.java:56: error: class, interface, or enum expected sbool empty(SynchronizedLongBuffer b) { ret b == null || b.isEmpty(); } ^ /root/JavaX-Caches/tmp_100714265/main.java:60: error: class, interface, or enum expected sbool empty(DoubleBuffer b) { ret b == null || b.isEmpty(); } ^ /root/JavaX-Caches/tmp_100714265/main.java:64: error: class, interface, or enum expected sbool empty(SynchronizedDoubleBuffer b) { ret b == null || b.isEmpty(); } ^ /root/JavaX-Caches/tmp_100714265/main.java:68: error: class, interface, or enum expected sbool empty(SynchronizedFloatBufferPresentingAsDoubles b) { ret b == null || b.isEmpty(); } ^ /root/JavaX-Caches/tmp_100714265/main.java:72: error: class, interface, or enum expected sbool empty(IDoubleBuffer b) { ret b == null || b.isEmpty(); } ^ /root/JavaX-Caches/tmp_100714265/main.java:76: error: class, interface, or enum expected sbool empty(ILongBuffer b) { ret b == null || b.isEmpty(); } ^ /root/JavaX-Caches/tmp_100714265/main.java:80: error: class, interface, or enum expected sbool empty(Rect r) { ret !(r != null && r.w != 0 && r.h != 0); } ^ /root/JavaX-Caches/tmp_100714265/main.java:84: error: class, interface, or enum expected sbool empty(Chain c) { ret c == null; } ^ /root/JavaX-Caches/tmp_100714265/main.java:88: error: class, interface, or enum expected sbool empty(AppendableChain c) { ret c == null; } ^ /root/JavaX-Caches/tmp_100714265/main.java:91: error: class, interface, or enum expected sbool empty(IntSize l) { ret l == null || l.size() == 0; } ^ 38 errors