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

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

/root/JavaX-Caches/tmp_604647527/main.java:1: error: class, interface, or enum expected static S n2(long l) { ret formatWithThousands(l); } ^ /root/JavaX-Caches/tmp_604647527/main.java:1: error: class, interface, or enum expected static S n2(long l) { ret formatWithThousands(l); } ^ /root/JavaX-Caches/tmp_604647527/main.java:2: error: class, interface, or enum expected static S n2(AtomicLong l) { ret n2(l!); } ^ /root/JavaX-Caches/tmp_604647527/main.java:3: error: class, interface, or enum expected static S n2(Collection l) { ret n2(l(l)); } ^ /root/JavaX-Caches/tmp_604647527/main.java:4: error: class, interface, or enum expected static S n2(Map map) { ret n2(l(map)); } ^ /root/JavaX-Caches/tmp_604647527/main.java:9: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_604647527/main.java:13: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_604647527/main.java:18: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_604647527/main.java:20: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_604647527/main.java:24: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_604647527/main.java:28: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_604647527/main.java:32: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_604647527/main.java:36: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_604647527/main.java:40: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_604647527/main.java:44: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_604647527/main.java:46: error: class, interface, or enum expected static S n2(long[] a, S singular) { ret n2(l(a), singular); } ^ /root/JavaX-Caches/tmp_604647527/main.java:48: error: class, interface, or enum expected static S n2(O[] a, S singular) { ret n2(l(a), singular); } ^ /root/JavaX-Caches/tmp_604647527/main.java:49: error: class, interface, or enum expected static S n2(O[] a, S singular, S plural) { ret n_fancy2(a, singular, plural); } ^ /root/JavaX-Caches/tmp_604647527/main.java:54: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_604647527/main.java:60: error: class, interface, or enum expected } ^ 20 errors