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

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

/root/JavaX-Caches/tmp_1759507031/main.java:1: error: class, interface, or enum expected static bool structure_showTiming, structure_checkTokenCount; ^ /root/JavaX-Caches/tmp_1759507031/main.java:3: error: class, interface, or enum expected static String structure(Object o) { ^ /root/JavaX-Caches/tmp_1759507031/main.java:5: error: class, interface, or enum expected structure_1(o, d); ^ /root/JavaX-Caches/tmp_1759507031/main.java:6: error: class, interface, or enum expected while (nempty(d.stack)) ^ /root/JavaX-Caches/tmp_1759507031/main.java:8: error: class, interface, or enum expected S s = str(d.out); ^ /root/JavaX-Caches/tmp_1759507031/main.java:9: error: class, interface, or enum expected if (structure_checkTokenCount) { ^ /root/JavaX-Caches/tmp_1759507031/main.java:11: error: class, interface, or enum expected assertEquals("token count", l(javaTokC(s)), d.n); ^ /root/JavaX-Caches/tmp_1759507031/main.java:12: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759507031/main.java:14: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759507031/main.java:19: error: class, interface, or enum expected static int structure_shareStringsLongerThan = 20; ^ /root/JavaX-Caches/tmp_1759507031/main.java:22: error: illegal start of type new StringBuilder out; ^ /root/JavaX-Caches/tmp_1759507031/main.java:24: error: illegal start of type new IdentityHashMap<O, Integer> seen; ^ /root/JavaX-Caches/tmp_1759507031/main.java:25: error: illegal start of type new BitSet refd; ^ /root/JavaX-Caches/tmp_1759507031/main.java:26: error: illegal start of type new HashMap<S, Int> strings; ^ /root/JavaX-Caches/tmp_1759507031/main.java:27: error: illegal start of type new HashSet<S> concepts; ^ /root/JavaX-Caches/tmp_1759507031/main.java:28: error: '(' or '[' expected HashMap<Class, L<Field>> fieldsByClass = new HashMap; ^ /root/JavaX-Caches/tmp_1759507031/main.java:31: error: illegal start of type new L<Runnable> stack; ^ /root/JavaX-Caches/tmp_1759507031/main.java:34: error: not a statement structure_Data append(S token) { out.append(token); ++n; ret this; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:34: error: ';' expected structure_Data append(S token) { out.append(token); ++n; ret this; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:34: error: not a statement structure_Data append(S token) { out.append(token); ++n; ret this; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:35: error: not a statement structure_Data append(int i) { out.append(i); ++n; ret this; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:35: error: ';' expected structure_Data append(int i) { out.append(i); ++n; ret this; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:35: error: not a statement structure_Data append(int i) { out.append(i); ++n; ret this; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:38: error: not a statement structure_Data append(S token, int tokCount) { out.append(token); n += tokCount; ret this; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:38: error: ';' expected structure_Data append(S token, int tokCount) { out.append(token); n += tokCount; ret this; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:38: error: not a statement structure_Data append(S token, int tokCount) { out.append(token); n += tokCount; ret this; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:41: error: not a statement structure_Data app(S token) { out.append(token); ret this; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:41: error: ';' expected structure_Data app(S token) { out.append(token); ret this; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:41: error: not a statement structure_Data app(S token) { out.append(token); ret this; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:42: error: not a statement structure_Data app(int i) { out.append(i); ret this; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:42: error: ';' expected structure_Data app(int i) { out.append(i); ret this; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:42: error: not a statement structure_Data app(int i) { out.append(i); ret this; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:45: error: class, interface, or enum expected static void structure_1(Object o, final structure_Data d) { ^ /root/JavaX-Caches/tmp_1759507031/main.java:45: error: class, interface, or enum expected static void structure_1(Object o, final structure_Data d) { ^ /root/JavaX-Caches/tmp_1759507031/main.java:46: error: class, interface, or enum expected final StringBuilder out = d.out; ^ /root/JavaX-Caches/tmp_1759507031/main.java:48: error: class, interface, or enum expected if (o == null) { d.append("null"); ret; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:48: error: class, interface, or enum expected if (o == null) { d.append("null"); ret; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:48: error: class, interface, or enum expected if (o == null) { d.append("null"); ret; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:51: error: class, interface, or enum expected S name = c.getName(); ^ /root/JavaX-Caches/tmp_1759507031/main.java:52: error: class, interface, or enum expected S dynName = shortDynamicClassName(o); ^ /root/JavaX-Caches/tmp_1759507031/main.java:53: error: class, interface, or enum expected bool concept = d.conceptClass != null && d.conceptClass.isInstance(o); ^ /root/JavaX-Caches/tmp_1759507031/main.java:54: error: class, interface, or enum expected L<Field> lFields = d.fieldsByClass.get(c); ^ /root/JavaX-Caches/tmp_1759507031/main.java:56: error: class, interface, or enum expected if (lFields == null) { ^ /root/JavaX-Caches/tmp_1759507031/main.java:60: error: class, interface, or enum expected if (o instanceof Integer) { out.append(((Int) o).intValue()); d.n++; ret; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:60: error: class, interface, or enum expected if (o instanceof Integer) { out.append(((Int) o).intValue()); d.n++; ret; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:60: error: class, interface, or enum expected if (o instanceof Integer) { out.append(((Int) o).intValue()); d.n++; ret; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:61: error: class, interface, or enum expected if (o instanceof Long) { out.append(((Long) o).longValue()).append("L"); d.n++; ret; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:61: error: class, interface, or enum expected if (o instanceof Long) { out.append(((Long) o).longValue()).append("L"); d.n++; ret; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:61: error: class, interface, or enum expected if (o instanceof Long) { out.append(((Long) o).longValue()).append("L"); d.n++; ret; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:62: error: class, interface, or enum expected if (o instanceof Float) { d.append("fl ", 2); quote_impl(str(o), out); ret; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:62: error: class, interface, or enum expected if (o instanceof Float) { d.append("fl ", 2); quote_impl(str(o), out); ret; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:62: error: class, interface, or enum expected if (o instanceof Float) { d.append("fl ", 2); quote_impl(str(o), out); ret; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:63: error: class, interface, or enum expected if (o instanceof Double) { d.append("d(", 3); quote_impl(str(o), out); d.append(")"); ret; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:63: error: class, interface, or enum expected if (o instanceof Double) { d.append("d(", 3); quote_impl(str(o), out); d.append(")"); ret; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:63: error: class, interface, or enum expected if (o instanceof Double) { d.append("d(", 3); quote_impl(str(o), out); d.append(")"); ret; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:63: error: class, interface, or enum expected if (o instanceof Double) { d.append("d(", 3); quote_impl(str(o), out); d.append(")"); ret; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:64: error: class, interface, or enum expected if (o instanceof BigInteger) { out.append("bigint(").append(o).append(")"); d.n += 4; ret; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:64: error: class, interface, or enum expected if (o instanceof BigInteger) { out.append("bigint(").append(o).append(")"); d.n += 4; ret; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:64: error: class, interface, or enum expected if (o instanceof BigInteger) { out.append("bigint(").append(o).append(")"); d.n += 4; ret; } ^ /root/JavaX-Caches/tmp_1759507031/main.java:68: error: class, interface, or enum expected d.append(((Boolean) o).booleanValue() ? "t" : "f"); ret; ^ /root/JavaX-Caches/tmp_1759507031/main.java:69: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759507031/main.java:72: error: class, interface, or enum expected d.append(quoteCharacter((Character) o)); ret; ^ /root/JavaX-Caches/tmp_1759507031/main.java:73: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759507031/main.java:76: error: class, interface, or enum expected d.append("File ").append(quote(((File) o).getPath())); ret; ^ /root/JavaX-Caches/tmp_1759507031/main.java:77: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759507031/main.java:82: error: class, interface, or enum expected if (o instanceof S && ref == null) ^ /root/JavaX-Caches/tmp_1759507031/main.java:85: error: class, interface, or enum expected if (ref != null) { ^ /root/JavaX-Caches/tmp_1759507031/main.java:87: error: class, interface, or enum expected d.append("t").app(ref); ret; ^ /root/JavaX-Caches/tmp_1759507031/main.java:87: error: class, interface, or enum expected d.append("t").app(ref); ret; ^ /root/JavaX-Caches/tmp_1759507031/main.java:88: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759507031/main.java:91: error: class, interface, or enum expected d.seen.put(o, ref); ^ /root/JavaX-Caches/tmp_1759507031/main.java:94: error: class, interface, or enum expected if (o instanceof S) { ^ /root/JavaX-Caches/tmp_1759507031/main.java:96: error: class, interface, or enum expected if (l(s) >= structure_shareStringsLongerThan) ^ /root/JavaX-Caches/tmp_1759507031/main.java:98: error: class, interface, or enum expected quote_impl(s, out); d.n++; ret; ^ /root/JavaX-Caches/tmp_1759507031/main.java:98: error: class, interface, or enum expected quote_impl(s, out); d.n++; ret; ^ /root/JavaX-Caches/tmp_1759507031/main.java:98: error: class, interface, or enum expected quote_impl(s, out); d.n++; ret; ^ /root/JavaX-Caches/tmp_1759507031/main.java:99: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759507031/main.java:103: error: class, interface, or enum expected structure_1(new ArrayList((Set) o), d); ^ /root/JavaX-Caches/tmp_1759507031/main.java:104: error: class, interface, or enum expected ret; ^ /root/JavaX-Caches/tmp_1759507031/main.java:105: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759507031/main.java:109: error: class, interface, or enum expected structure_1(new ArrayList((Set) o), d); ^ /root/JavaX-Caches/tmp_1759507031/main.java:110: error: class, interface, or enum expected ret; ^ /root/JavaX-Caches/tmp_1759507031/main.java:111: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759507031/main.java:115: error: class, interface, or enum expected final int l = out.length(); ^ /root/JavaX-Caches/tmp_1759507031/main.java:116: error: class, interface, or enum expected final Iterator it = ((Collection) o).iterator(); ^ /root/JavaX-Caches/tmp_1759507031/main.java:117: error: class, interface, or enum expected d.stack.add(r { ^ /root/JavaX-Caches/tmp_1759507031/main.java:120: error: class, interface, or enum expected else { ^ /root/JavaX-Caches/tmp_1759507031/main.java:122: error: class, interface, or enum expected if (out.length() != l) d.append(", "); ^ /root/JavaX-Caches/tmp_1759507031/main.java:123: error: class, interface, or enum expected structure_1(it.next(), d); ^ /root/JavaX-Caches/tmp_1759507031/main.java:124: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759507031/main.java:126: error: class, interface, or enum expected ret; ^ /root/JavaX-Caches/tmp_1759507031/main.java:127: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759507031/main.java:131: error: class, interface, or enum expected d.append("{"); ^ /root/JavaX-Caches/tmp_1759507031/main.java:132: error: class, interface, or enum expected final int l = out.length(); ^ /root/JavaX-Caches/tmp_1759507031/main.java:133: error: class, interface, or enum expected final Iterator it = ((Map) o).entrySet().iterator(); ^ /root/JavaX-Caches/tmp_1759507031/main.java:135: error: class, interface, or enum expected d.stack.add(new Runnable() { ^ /root/JavaX-Caches/tmp_1759507031/main.java:137: error: class, interface, or enum expected Map.Entry e; ^ /root/JavaX-Caches/tmp_1759507031/main.java:139: error: class, interface, or enum expected public void run() { ^ /root/JavaX-Caches/tmp_1759507031/main.java:142: error: class, interface, or enum expected v = false; ^ /root/JavaX-Caches/tmp_1759507031/main.java:143: error: class, interface, or enum expected d.stack.add(this); ^ 100 errors only showing the first 100 errors, of 186 total; use -Xmaxerrs if you would like to see more