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

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

/root/JavaX-Caches/tmp_1368784840/main.java:1: error: class, interface, or enum expected srecord noeq G22JavaObjectVisualizer(G22Utils g22utils) is Swingable { ^ /root/JavaX-Caches/tmp_1368784840/main.java:3: error: class, interface, or enum expected settable bool singleLineLayout; // TODO ^ /root/JavaX-Caches/tmp_1368784840/main.java:4: error: class, interface, or enum expected settable int maxElements = 1000; // max elements of collection to show ^ /root/JavaX-Caches/tmp_1368784840/main.java:5: error: class, interface, or enum expected settable bool horizontal; ^ /root/JavaX-Caches/tmp_1368784840/main.java:7: error: class, interface, or enum expected Set seen = identityHashSet(); ^ /root/JavaX-Caches/tmp_1368784840/main.java:9: error: class, interface, or enum expected transient settable O object; ^ /root/JavaX-Caches/tmp_1368784840/main.java:10: error: class, interface, or enum expected transient settable long nanos = -1; ^ /root/JavaX-Caches/tmp_1368784840/main.java:12: error: class, interface, or enum expected *(G22Utils *g22utils, O *object) {} ^ /root/JavaX-Caches/tmp_1368784840/main.java:17: error: class, interface, or enum expected infos.add(str(shortClassName(object))); // shows "null" for null value ^ /root/JavaX-Caches/tmp_1368784840/main.java:18: error: class, interface, or enum expected for (key, val : mainVisualizer().properties) { ^ /root/JavaX-Caches/tmp_1368784840/main.java:20: error: class, interface, or enum expected if (nempty(s)) ^ /root/JavaX-Caches/tmp_1368784840/main.java:22: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1368784840/main.java:24: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1368784840/main.java:29: error: class, interface, or enum expected JComponent c = visualizeObject(object); ^ /root/JavaX-Caches/tmp_1368784840/main.java:31: error: class, interface, or enum expected if (withTypeAndTime) { ^ /root/JavaX-Caches/tmp_1368784840/main.java:33: error: class, interface, or enum expected S timeDesc = nanos < 0 ? "" : formatElapsedTimeWithAppropriateUnit(nanosToSeconds(nanos)); ^ /root/JavaX-Caches/tmp_1368784840/main.java:34: error: class, interface, or enum expected printVars(+nanos, +timeDesc); ^ /root/JavaX-Caches/tmp_1368784840/main.java:35: error: class, interface, or enum expected c = northAndCenterWithMargins( ^ /root/JavaX-Caches/tmp_1368784840/main.java:41: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1368784840/main.java:44: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1368784840/main.java:48: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1368784840/main.java:52: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1368784840/main.java:55: error: ';' expected settable bool recurse; ^ /root/JavaX-Caches/tmp_1368784840/main.java:55: error: <identifier> expected settable bool recurse; ^ /root/JavaX-Caches/tmp_1368784840/main.java:56: error: ';' expected settable bool bigFont; ^ /root/JavaX-Caches/tmp_1368784840/main.java:56: error: <identifier> expected settable bool bigFont; ^ /root/JavaX-Caches/tmp_1368784840/main.java:57: error: ';' expected settable bool horizontal; ^ /root/JavaX-Caches/tmp_1368784840/main.java:57: error: <identifier> expected settable bool horizontal; ^ /root/JavaX-Caches/tmp_1368784840/main.java:59: error: illegal start of type new LinkedHashMap<S, O> properties; ^ /root/JavaX-Caches/tmp_1368784840/main.java:63: error: not a statement ret new ObjectVisualizer().horizontal(!horizontal); ^ /root/JavaX-Caches/tmp_1368784840/main.java:63: error: ';' expected ret new ObjectVisualizer().horizontal(!horizontal); ^ /root/JavaX-Caches/tmp_1368784840/main.java:67: error: ';' expected if (bigFont) ret fontSizePlus(10, c); ^ /root/JavaX-Caches/tmp_1368784840/main.java:67: error: variable declaration not allowed here if (bigFont) ret fontSizePlus(10, c); ^ /root/JavaX-Caches/tmp_1368784840/main.java:67: error: not a statement if (bigFont) ret fontSizePlus(10, c); ^ /root/JavaX-Caches/tmp_1368784840/main.java:67: error: ';' expected if (bigFont) ret fontSizePlus(10, c); ^ /root/JavaX-Caches/tmp_1368784840/main.java:73: error: ';' expected ret visualize2(object); ^ /root/JavaX-Caches/tmp_1368784840/main.java:73: error: not a statement ret visualize2(object); ^ /root/JavaX-Caches/tmp_1368784840/main.java:73: error: ';' expected ret visualize2(object); ^ /root/JavaX-Caches/tmp_1368784840/main.java:74: error: '(' expected } catch e { ^ /root/JavaX-Caches/tmp_1368784840/main.java:74: error: <identifier> expected } catch e { ^ /root/JavaX-Caches/tmp_1368784840/main.java:75: error: ';' expected ret jErrorView(new RuntimeException("Visualization error", e)); ^ /root/JavaX-Caches/tmp_1368784840/main.java:75: error: ';' expected ret jErrorView(new RuntimeException("Visualization error", e)); ^ /root/JavaX-Caches/tmp_1368784840/main.java:82: error: ')' expected if (object cast Throwable) ^ /root/JavaX-Caches/tmp_1368784840/main.java:82: error: ';' expected if (object cast Throwable) ^ /root/JavaX-Caches/tmp_1368784840/main.java:82: error: variable declaration not allowed here if (object cast Throwable) ^ /root/JavaX-Caches/tmp_1368784840/main.java:83: error: ';' expected ret jErrorView(object); ^ /root/JavaX-Caches/tmp_1368784840/main.java:83: error: not a statement ret jErrorView(object); ^ /root/JavaX-Caches/tmp_1368784840/main.java:83: error: ';' expected ret jErrorView(object); ^ /root/JavaX-Caches/tmp_1368784840/main.java:88: error: ';' expected ret jpanel(); ^ /root/JavaX-Caches/tmp_1368784840/main.java:88: error: variable declaration not allowed here ret jpanel(); ^ /root/JavaX-Caches/tmp_1368784840/main.java:92: error: ')' expected if (object cast Swingable) ^ /root/JavaX-Caches/tmp_1368784840/main.java:92: error: ';' expected if (object cast Swingable) ^ /root/JavaX-Caches/tmp_1368784840/main.java:92: error: variable declaration not allowed here if (object cast Swingable) ^ /root/JavaX-Caches/tmp_1368784840/main.java:95: error: ')' expected if (object cast JComponent && getParent(object) == null) ^ /root/JavaX-Caches/tmp_1368784840/main.java:95: error: ';' expected if (object cast JComponent && getParent(object) == null) ^ /root/JavaX-Caches/tmp_1368784840/main.java:95: error: variable declaration not allowed here if (object cast JComponent && getParent(object) == null) ^ /root/JavaX-Caches/tmp_1368784840/main.java:95: error: not a statement if (object cast JComponent && getParent(object) == null) ^ /root/JavaX-Caches/tmp_1368784840/main.java:95: error: ';' expected if (object cast JComponent && getParent(object) == null) ^ /root/JavaX-Caches/tmp_1368784840/main.java:100: error: ')' expected if (object cast Int) object = toLong(object); ^ /root/JavaX-Caches/tmp_1368784840/main.java:100: error: ';' expected if (object cast Int) object = toLong(object); ^ /root/JavaX-Caches/tmp_1368784840/main.java:100: error: variable declaration not allowed here if (object cast Int) object = toLong(object); ^ /root/JavaX-Caches/tmp_1368784840/main.java:101: error: ')' expected if (object cast Long) ^ /root/JavaX-Caches/tmp_1368784840/main.java:101: error: ';' expected if (object cast Long) ^ /root/JavaX-Caches/tmp_1368784840/main.java:101: error: variable declaration not allowed here if (object cast Long) ^ /root/JavaX-Caches/tmp_1368784840/main.java:102: error: ';' expected ret makeBig(jcenteredLabel(n2(object))); ^ /root/JavaX-Caches/tmp_1368784840/main.java:102: error: ';' expected ret makeBig(jcenteredLabel(n2(object))); ^ /root/JavaX-Caches/tmp_1368784840/main.java:103: error: ')' expected if (object cast Number) ^ /root/JavaX-Caches/tmp_1368784840/main.java:103: error: ';' expected if (object cast Number) ^ /root/JavaX-Caches/tmp_1368784840/main.java:103: error: variable declaration not allowed here if (object cast Number) ^ /root/JavaX-Caches/tmp_1368784840/main.java:104: error: ';' expected ret makeBig(jcenterNarrowLabel(str(object))); ^ /root/JavaX-Caches/tmp_1368784840/main.java:104: error: ';' expected ret makeBig(jcenterNarrowLabel(str(object))); ^ /root/JavaX-Caches/tmp_1368784840/main.java:106: error: ')' expected if (object cast Pair) { ^ /root/JavaX-Caches/tmp_1368784840/main.java:106: error: ';' expected if (object cast Pair) { ^ /root/JavaX-Caches/tmp_1368784840/main.java:106: error: variable declaration not allowed here if (object cast Pair) { ^ /root/JavaX-Caches/tmp_1368784840/main.java:108: error: ';' expected ret jcenteredline(jlabel("<"), visualize(object.a), jlabel(","), ^ /root/JavaX-Caches/tmp_1368784840/main.java:108: error: variable declaration not allowed here ret jcenteredline(jlabel("<"), visualize(object.a), jlabel(","), ^ /root/JavaX-Caches/tmp_1368784840/main.java:108: error: ';' expected ret jcenteredline(jlabel("<"), visualize(object.a), jlabel(","), ^ /root/JavaX-Caches/tmp_1368784840/main.java:108: error: ';' expected ret jcenteredline(jlabel("<"), visualize(object.a), jlabel(","), ^ /root/JavaX-Caches/tmp_1368784840/main.java:108: error: ';' expected ret jcenteredline(jlabel("<"), visualize(object.a), jlabel(","), ^ /root/JavaX-Caches/tmp_1368784840/main.java:109: error: ';' expected visualize(object.b), jlabel(">")); ^ /root/JavaX-Caches/tmp_1368784840/main.java:109: error: ';' expected visualize(object.b), jlabel(">")); ^ /root/JavaX-Caches/tmp_1368784840/main.java:111: error: ';' expected ret vstackWithSpacing(visualize(object.a), visualize(object.b)); ^ /root/JavaX-Caches/tmp_1368784840/main.java:111: error: variable declaration not allowed here ret vstackWithSpacing(visualize(object.a), visualize(object.b)); ^ /root/JavaX-Caches/tmp_1368784840/main.java:110: error: 'else' without 'if' else ^ /root/JavaX-Caches/tmp_1368784840/main.java:111: error: ';' expected ret vstackWithSpacing(visualize(object.a), visualize(object.b)); ^ /root/JavaX-Caches/tmp_1368784840/main.java:111: error: ';' expected ret vstackWithSpacing(visualize(object.a), visualize(object.b)); ^ /root/JavaX-Caches/tmp_1368784840/main.java:116: error: ')' expected if (object cast MakesBufferedImage) ^ /root/JavaX-Caches/tmp_1368784840/main.java:116: error: ';' expected if (object cast MakesBufferedImage) ^ /root/JavaX-Caches/tmp_1368784840/main.java:116: error: variable declaration not allowed here if (object cast MakesBufferedImage) ^ /root/JavaX-Caches/tmp_1368784840/main.java:118: error: ')' expected if (object cast BufferedImage) { ^ /root/JavaX-Caches/tmp_1368784840/main.java:118: error: ';' expected if (object cast BufferedImage) { ^ /root/JavaX-Caches/tmp_1368784840/main.java:118: error: variable declaration not allowed here if (object cast BufferedImage) { ^ /root/JavaX-Caches/tmp_1368784840/main.java:121: error: ';' expected ret jscroll_centered_borderless(is); ^ /root/JavaX-Caches/tmp_1368784840/main.java:121: error: not a statement ret jscroll_centered_borderless(is); ^ /root/JavaX-Caches/tmp_1368784840/main.java:121: error: ';' expected ret jscroll_centered_borderless(is); ^ /root/JavaX-Caches/tmp_1368784840/main.java:131: error: ';' expected ifclass MultiMap ^ /root/JavaX-Caches/tmp_1368784840/main.java:132: error: ')' expected if (object cast MultiMap) { ^ /root/JavaX-Caches/tmp_1368784840/main.java:132: error: ';' expected if (object cast MultiMap) { ^ /root/JavaX-Caches/tmp_1368784840/main.java:132: error: variable declaration not allowed here if (object cast MultiMap) { ^ /root/JavaX-Caches/tmp_1368784840/main.java:139: error: ';' expected ifclass MultiSetMap ^ 100 errors only showing the first 100 errors, of 126 total; use -Xmaxerrs if you would like to see more