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

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

/root/JavaX-Caches/tmp_997018973/main.java:1: error: class, interface, or enum expected sclass JObjectTable<A> is Swingable { ^ /root/JavaX-Caches/tmp_997018973/main.java:4: error: class, interface, or enum expected transient IF1<A, Map> itemToMap; ^ /root/JavaX-Caches/tmp_997018973/main.java:5: error: class, interface, or enum expected transient Set<S> hideFields; ^ /root/JavaX-Caches/tmp_997018973/main.java:6: error: class, interface, or enum expected transient bool debug, fieldsInOrder = true, withSearcher; ^ /root/JavaX-Caches/tmp_997018973/main.java:7: error: class, interface, or enum expected settable IVF1<A> defaultAction; ^ /root/JavaX-Caches/tmp_997018973/main.java:9: error: class, interface, or enum expected transient gettable JTable table; ^ /root/JavaX-Caches/tmp_997018973/main.java:10: error: class, interface, or enum expected transient TableSearcher searcher; ^ /root/JavaX-Caches/tmp_997018973/main.java:11: error: class, interface, or enum expected transient bool useStruct = false; // possible breaking change for older modules ^ /root/JavaX-Caches/tmp_997018973/main.java:13: error: class, interface, or enum expected event listChanged; ^ /root/JavaX-Caches/tmp_997018973/main.java:15: error: class, interface, or enum expected *() { ^ /root/JavaX-Caches/tmp_997018973/main.java:18: error: class, interface, or enum expected Map map = humanizeKeys(fieldsInOrder ? objectToMap_inOrder_withoutFields(a, hideFields) : objectToMap(a)); ^ /root/JavaX-Caches/tmp_997018973/main.java:19: error: class, interface, or enum expected if (!useStruct) map = mapValues strOrEmpty(map); ^ /root/JavaX-Caches/tmp_997018973/main.java:20: error: class, interface, or enum expected ret map; ^ /root/JavaX-Caches/tmp_997018973/main.java:21: error: class, interface, or enum expected }; ^ /root/JavaX-Caches/tmp_997018973/main.java:22: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_997018973/main.java:26: error: class, interface, or enum expected onListChanged(r); ^ /root/JavaX-Caches/tmp_997018973/main.java:27: error: class, interface, or enum expected r.run(); ^ /root/JavaX-Caches/tmp_997018973/main.java:28: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_997018973/main.java:32: error: class, interface, or enum expected table = dataToTable_uneditable(sexyTable(), l); ^ /root/JavaX-Caches/tmp_997018973/main.java:33: error: class, interface, or enum expected onDoubleClickOrEnter(table, voidfunc(int row) { ^ /root/JavaX-Caches/tmp_997018973/main.java:35: error: class, interface, or enum expected if (a != null) defaultAction?.get(a); ^ /root/JavaX-Caches/tmp_997018973/main.java:36: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_997018973/main.java:37: error: class, interface, or enum expected if (withSearcher) ^ /root/JavaX-Caches/tmp_997018973/main.java:39: error: class, interface, or enum expected ret jscroll(table); ^ /root/JavaX-Caches/tmp_997018973/main.java:40: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_997018973/main.java:45: error: class, interface, or enum expected if (debug) print("Scroll position: " + scrollPosition); ^ /root/JavaX-Caches/tmp_997018973/main.java:46: error: class, interface, or enum expected dataToTable_uneditable(table, map(itemToMap, data)); ^ /root/JavaX-Caches/tmp_997018973/main.java:47: error: class, interface, or enum expected setEnclosingViewPosition(table, scrollPosition); ^ /root/JavaX-Caches/tmp_997018973/main.java:48: error: class, interface, or enum expected if (searcher != null) searcher.rowIndices = null; ^ /root/JavaX-Caches/tmp_997018973/main.java:49: error: class, interface, or enum expected if (debug) print("dataToTable done, alerting " + n2(onListChanged, "listener")); ^ /root/JavaX-Caches/tmp_997018973/main.java:50: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_997018973/main.java:52: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_997018973/main.java:54: error: class, interface, or enum expected void clear() { syncClear(data); fireDataChanged(); } ^ /root/JavaX-Caches/tmp_997018973/main.java:54: error: class, interface, or enum expected void clear() { syncClear(data); fireDataChanged(); } ^ /root/JavaX-Caches/tmp_997018973/main.java:55: error: class, interface, or enum expected void add(A a) { syncAdd(data, a); fireDataChanged(); } ^ /root/JavaX-Caches/tmp_997018973/main.java:55: error: class, interface, or enum expected void add(A a) { syncAdd(data, a); fireDataChanged(); } ^ /root/JavaX-Caches/tmp_997018973/main.java:56: error: class, interface, or enum expected A addAndReturn(A a) { add(a); ret a; } ^ /root/JavaX-Caches/tmp_997018973/main.java:56: error: class, interface, or enum expected A addAndReturn(A a) { add(a); ret a; } ^ /root/JavaX-Caches/tmp_997018973/main.java:57: error: class, interface, or enum expected void add(int idx, A a) { syncAdd(data, idx, a); fireDataChanged(); } ^ /root/JavaX-Caches/tmp_997018973/main.java:57: error: class, interface, or enum expected void add(int idx, A a) { syncAdd(data, idx, a); fireDataChanged(); } ^ /root/JavaX-Caches/tmp_997018973/main.java:58: error: class, interface, or enum expected void addAll(Collection<A> l) { if (empty(l)) ret; syncAddAll(data, l); fireDataChanged(); } ^ /root/JavaX-Caches/tmp_997018973/main.java:58: error: class, interface, or enum expected void addAll(Collection<A> l) { if (empty(l)) ret; syncAddAll(data, l); fireDataChanged(); } ^ /root/JavaX-Caches/tmp_997018973/main.java:58: error: class, interface, or enum expected void addAll(Collection<A> l) { if (empty(l)) ret; syncAddAll(data, l); fireDataChanged(); } ^ /root/JavaX-Caches/tmp_997018973/main.java:59: error: class, interface, or enum expected void addAndScrollDown(A a) { add(a); scrollDown(); } ^ /root/JavaX-Caches/tmp_997018973/main.java:59: error: class, interface, or enum expected void addAndScrollDown(A a) { add(a); scrollDown(); } ^ /root/JavaX-Caches/tmp_997018973/main.java:60: error: class, interface, or enum expected void remove(A a) { syncRemove(data, a); fireDataChanged(); } ^ /root/JavaX-Caches/tmp_997018973/main.java:60: error: class, interface, or enum expected void remove(A a) { syncRemove(data, a); fireDataChanged(); } ^ /root/JavaX-Caches/tmp_997018973/main.java:61: error: class, interface, or enum expected void removeAll(L<A> a) { syncRemoveAll(data, a); fireDataChanged(); } ^ /root/JavaX-Caches/tmp_997018973/main.java:61: error: class, interface, or enum expected void removeAll(L<A> a) { syncRemoveAll(data, a); fireDataChanged(); } ^ /root/JavaX-Caches/tmp_997018973/main.java:62: error: class, interface, or enum expected void setList(Iterable<A> data) { setData(data); } ^ /root/JavaX-Caches/tmp_997018973/main.java:63: error: class, interface, or enum expected void removeSelected() { removeAll(allSelected()); } ^ /root/JavaX-Caches/tmp_997018973/main.java:68: error: class, interface, or enum expected L<A> cloned = cloneList(data); ^ /root/JavaX-Caches/tmp_997018973/main.java:69: error: class, interface, or enum expected if (force || !eq(this.data, cloned)) { ^ /root/JavaX-Caches/tmp_997018973/main.java:71: error: class, interface, or enum expected updateTable(); ^ /root/JavaX-Caches/tmp_997018973/main.java:72: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_997018973/main.java:74: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_997018973/main.java:76: error: class, interface, or enum expected int count() { ret syncL(data); } ^ /root/JavaX-Caches/tmp_997018973/main.java:78: error: class, interface, or enum expected void setData_force(Iterable<A> data) { setData(data, true); } ^ /root/JavaX-Caches/tmp_997018973/main.java:81: error: class, interface, or enum expected void fireDataChanged() { setData_force(data); } ^ /root/JavaX-Caches/tmp_997018973/main.java:85: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_997018973/main.java:87: error: class, interface, or enum expected A selected() { ret syncGet(data, rowFromSearcher(selectedTableRowInModel(table))); } ^ /root/JavaX-Caches/tmp_997018973/main.java:88: error: class, interface, or enum expected L<A> allSelected() { ret syncListGetMulti(data, selectedIndices()); } ^ /root/JavaX-Caches/tmp_997018973/main.java:89: error: class, interface, or enum expected int selectedIndex() { ret selectedTableRow(table); } ^ /root/JavaX-Caches/tmp_997018973/main.java:90: error: class, interface, or enum expected L<Int> selectedIndices() { ret map(i -> rowFromSearcher(i), selectedTableRowsInModel(table)); } ^ /root/JavaX-Caches/tmp_997018973/main.java:91: error: class, interface, or enum expected bool selectItem(A a) { int i = indexOf(data, a); selectRow(table, i); ret i >= 0; } // true if item exists ^ /root/JavaX-Caches/tmp_997018973/main.java:91: error: class, interface, or enum expected bool selectItem(A a) { int i = indexOf(data, a); selectRow(table, i); ret i >= 0; } // true if item exists ^ /root/JavaX-Caches/tmp_997018973/main.java:91: error: class, interface, or enum expected bool selectItem(A a) { int i = indexOf(data, a); selectRow(table, i); ret i >= 0; } // true if item exists ^ /root/JavaX-Caches/tmp_997018973/main.java:92: error: class, interface, or enum expected void doubleClickItem(A a) { if (selectItem(a)) defaultAction?.get(a); } ^ /root/JavaX-Caches/tmp_997018973/main.java:97: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_997018973/main.java:101: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_997018973/main.java:106: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_997018973/main.java:110: error: class, interface, or enum expected _addAll(hideFields, fields); ^ /root/JavaX-Caches/tmp_997018973/main.java:111: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_997018973/main.java:113: error: class, interface, or enum expected A getRow(int row) { ret get(data, row); } ^ /root/JavaX-Caches/tmp_997018973/main.java:115: error: class, interface, or enum expected void scrollDown { scrollTableDownNow(table); } ^ /root/JavaX-Caches/tmp_997018973/main.java:119: error: class, interface, or enum expected onTableSelectionChanged(table, -> pcallF_typed(r, selected())); ^ /root/JavaX-Caches/tmp_997018973/main.java:120: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_997018973/main.java:122: error: class, interface, or enum expected L<A> getList() { ret data; } ^ 78 errors