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

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

/root/JavaX-Caches/tmp_2104457783/main.java:1: error: class, interface, or enum expected static bool structure_showTiming, structure_checkTokenCount; ^ /root/JavaX-Caches/tmp_2104457783/main.java:3: error: class, interface, or enum expected static String structure(Object o) { ^ /root/JavaX-Caches/tmp_2104457783/main.java:5: error: class, interface, or enum expected structure_1(o, d); ^ /root/JavaX-Caches/tmp_2104457783/main.java:6: error: class, interface, or enum expected long time = now(); ^ /root/JavaX-Caches/tmp_2104457783/main.java:7: error: class, interface, or enum expected S s = str(d.out); ^ /root/JavaX-Caches/tmp_2104457783/main.java:8: error: class, interface, or enum expected if (structure_checkTokenCount) { ^ /root/JavaX-Caches/tmp_2104457783/main.java:10: error: class, interface, or enum expected assertEquals("token count", l(javaTokC(s)), d.n); ^ /root/JavaX-Caches/tmp_2104457783/main.java:11: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2104457783/main.java:13: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2104457783/main.java:18: error: class, interface, or enum expected static int structure_shareStringsLongerThan = 20; ^ /root/JavaX-Caches/tmp_2104457783/main.java:21: error: illegal start of type new StringBuilder out; ^ /root/JavaX-Caches/tmp_2104457783/main.java:23: error: illegal start of type new IdentityHashMap<O, Integer> seen; ^ /root/JavaX-Caches/tmp_2104457783/main.java:24: error: illegal start of type new BitSet refd; ^ /root/JavaX-Caches/tmp_2104457783/main.java:25: error: illegal start of type new HashMap<S, Int> strings; ^ /root/JavaX-Caches/tmp_2104457783/main.java:26: error: illegal start of type new HashSet<S> concepts; ^ /root/JavaX-Caches/tmp_2104457783/main.java:27: error: '(' or '[' expected HashMap<Class, L<Field>> fieldsByClass = new HashMap; ^ /root/JavaX-Caches/tmp_2104457783/main.java:32: error: not a statement structure_Data append(S token) { out.append(token); ++n; ret this; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:32: error: ';' expected structure_Data append(S token) { out.append(token); ++n; ret this; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:32: error: not a statement structure_Data append(S token) { out.append(token); ++n; ret this; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:33: error: not a statement structure_Data append(int i) { out.append(i); ++n; ret this; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:33: error: ';' expected structure_Data append(int i) { out.append(i); ++n; ret this; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:33: error: not a statement structure_Data append(int i) { out.append(i); ++n; ret this; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:36: error: not a statement structure_Data append(S token, int tokCount) { out.append(token); n += tokCount; ret this; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:36: error: ';' expected structure_Data append(S token, int tokCount) { out.append(token); n += tokCount; ret this; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:36: error: not a statement structure_Data append(S token, int tokCount) { out.append(token); n += tokCount; ret this; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:39: error: not a statement structure_Data app(S token) { out.append(token); ret this; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:39: error: ';' expected structure_Data app(S token) { out.append(token); ret this; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:39: error: not a statement structure_Data app(S token) { out.append(token); ret this; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:40: error: not a statement structure_Data app(int i) { out.append(i); ret this; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:40: error: ';' expected structure_Data app(int i) { out.append(i); ret this; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:40: error: not a statement structure_Data app(int i) { out.append(i); ret this; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:43: error: class, interface, or enum expected static void structure_1(Object o, structure_Data d) { ^ /root/JavaX-Caches/tmp_2104457783/main.java:46: error: class, interface, or enum expected if (o == null) { d.append("null"); ret; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:46: error: class, interface, or enum expected if (o == null) { d.append("null"); ret; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:46: error: class, interface, or enum expected if (o == null) { d.append("null"); ret; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:49: error: class, interface, or enum expected S name = c.getName(); ^ /root/JavaX-Caches/tmp_2104457783/main.java:50: error: class, interface, or enum expected S dynName = shortDynamicClassName(o); ^ /root/JavaX-Caches/tmp_2104457783/main.java:51: error: class, interface, or enum expected bool concept = d.conceptClass != null && d.conceptClass.isInstance(o); ^ /root/JavaX-Caches/tmp_2104457783/main.java:52: error: class, interface, or enum expected L<Field> lFields = d.fieldsByClass.get(c); ^ /root/JavaX-Caches/tmp_2104457783/main.java:54: error: class, interface, or enum expected if (lFields == null) { ^ /root/JavaX-Caches/tmp_2104457783/main.java:58: error: class, interface, or enum expected if (o instanceof Integer) { out.append((int) o); d.n++; ret; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:58: error: class, interface, or enum expected if (o instanceof Integer) { out.append((int) o); d.n++; ret; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:58: error: class, interface, or enum expected if (o instanceof Integer) { out.append((int) o); d.n++; ret; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:59: error: class, interface, or enum expected if (o instanceof Long) { out.append((long) o).append("L"); d.n++; ret; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:59: error: class, interface, or enum expected if (o instanceof Long) { out.append((long) o).append("L"); d.n++; ret; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:59: error: class, interface, or enum expected if (o instanceof Long) { out.append((long) o).append("L"); d.n++; ret; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:60: error: class, interface, or enum expected if (o instanceof Float) { d.append("fl ", 2); quote_impl(str(o), out); ret; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:60: error: class, interface, or enum expected if (o instanceof Float) { d.append("fl ", 2); quote_impl(str(o), out); ret; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:60: error: class, interface, or enum expected if (o instanceof Float) { d.append("fl ", 2); quote_impl(str(o), out); ret; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:61: 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_2104457783/main.java:61: 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_2104457783/main.java:61: 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_2104457783/main.java:61: 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_2104457783/main.java:62: error: class, interface, or enum expected if (o instanceof BigInteger) { out.append("bigint(").append(o).append(")"); d.n += 4; ret; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:62: error: class, interface, or enum expected if (o instanceof BigInteger) { out.append("bigint(").append(o).append(")"); d.n += 4; ret; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:62: error: class, interface, or enum expected if (o instanceof BigInteger) { out.append("bigint(").append(o).append(")"); d.n += 4; ret; } ^ /root/JavaX-Caches/tmp_2104457783/main.java:66: error: class, interface, or enum expected d.append(((Boolean) o).booleanValue() ? "t" : "f"); ret; ^ /root/JavaX-Caches/tmp_2104457783/main.java:67: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2104457783/main.java:70: error: class, interface, or enum expected d.append(quoteCharacter((Character) o)); ret; ^ /root/JavaX-Caches/tmp_2104457783/main.java:71: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2104457783/main.java:74: error: class, interface, or enum expected d.append("File ").append(quote(((File) o).getPath())); ret; ^ /root/JavaX-Caches/tmp_2104457783/main.java:75: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2104457783/main.java:80: error: class, interface, or enum expected if (o instanceof S && ref == null) ^ /root/JavaX-Caches/tmp_2104457783/main.java:83: error: class, interface, or enum expected if (ref != null) { ^ /root/JavaX-Caches/tmp_2104457783/main.java:85: error: class, interface, or enum expected d.append("t").app(ref); ret; ^ /root/JavaX-Caches/tmp_2104457783/main.java:85: error: class, interface, or enum expected d.append("t").app(ref); ret; ^ /root/JavaX-Caches/tmp_2104457783/main.java:86: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2104457783/main.java:89: error: class, interface, or enum expected d.seen.put(o, ref); ^ /root/JavaX-Caches/tmp_2104457783/main.java:92: error: class, interface, or enum expected if (o instanceof S) { ^ /root/JavaX-Caches/tmp_2104457783/main.java:94: error: class, interface, or enum expected if (l(s) >= structure_shareStringsLongerThan) ^ /root/JavaX-Caches/tmp_2104457783/main.java:96: error: class, interface, or enum expected quote_impl(s, out); d.n++; ret; ^ /root/JavaX-Caches/tmp_2104457783/main.java:96: error: class, interface, or enum expected quote_impl(s, out); d.n++; ret; ^ /root/JavaX-Caches/tmp_2104457783/main.java:96: error: class, interface, or enum expected quote_impl(s, out); d.n++; ret; ^ /root/JavaX-Caches/tmp_2104457783/main.java:97: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2104457783/main.java:101: error: class, interface, or enum expected structure_1(new ArrayList((Set) o), d); ^ /root/JavaX-Caches/tmp_2104457783/main.java:102: error: class, interface, or enum expected ret; ^ /root/JavaX-Caches/tmp_2104457783/main.java:103: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2104457783/main.java:107: error: class, interface, or enum expected structure_1(new ArrayList((Set) o), d); ^ /root/JavaX-Caches/tmp_2104457783/main.java:108: error: class, interface, or enum expected ret; ^ /root/JavaX-Caches/tmp_2104457783/main.java:109: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2104457783/main.java:113: error: class, interface, or enum expected int l = out.length(); ^ /root/JavaX-Caches/tmp_2104457783/main.java:114: error: class, interface, or enum expected for (Object x : (Collection) o) { ^ /root/JavaX-Caches/tmp_2104457783/main.java:116: error: class, interface, or enum expected structure_1(x, d); ^ /root/JavaX-Caches/tmp_2104457783/main.java:117: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2104457783/main.java:119: error: class, interface, or enum expected ret; ^ /root/JavaX-Caches/tmp_2104457783/main.java:120: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2104457783/main.java:124: error: class, interface, or enum expected d.append("{"); ^ /root/JavaX-Caches/tmp_2104457783/main.java:125: error: class, interface, or enum expected int l = out.length(); ^ /root/JavaX-Caches/tmp_2104457783/main.java:126: error: class, interface, or enum expected for (Object e : ((Map) o).entrySet()) { ^ /root/JavaX-Caches/tmp_2104457783/main.java:128: error: class, interface, or enum expected structure_1(((Map.Entry) e).getKey(), d); ^ /root/JavaX-Caches/tmp_2104457783/main.java:129: error: class, interface, or enum expected d.append("="); ^ /root/JavaX-Caches/tmp_2104457783/main.java:130: error: class, interface, or enum expected structure_1(((Map.Entry) e).getValue(), d); ^ /root/JavaX-Caches/tmp_2104457783/main.java:131: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2104457783/main.java:133: error: class, interface, or enum expected ret; ^ /root/JavaX-Caches/tmp_2104457783/main.java:134: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2104457783/main.java:138: error: class, interface, or enum expected d.append("ba ").append(quote(bytesToHex((byte[]) o))); ret; ^ /root/JavaX-Caches/tmp_2104457783/main.java:139: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2104457783/main.java:143: error: class, interface, or enum expected if (o instanceof bool[]) { ^ /root/JavaX-Caches/tmp_2104457783/main.java:145: error: class, interface, or enum expected int i = l(hex); ^ /root/JavaX-Caches/tmp_2104457783/main.java:146: error: class, interface, or enum expected while (i > 0 && hex.charAt(i-1) == '0' && hex.charAt(i-2) == '0') i -= 2; ^ 100 errors only showing the first 100 errors, of 180 total; use -Xmaxerrs if you would like to see more