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

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

/root/JavaX-Caches/tmp_223176402/main.java:1: error: class, interface, or enum expected sclass G22ManagedTextEditor<A extends G22Text> is Swingable { ^ /root/JavaX-Caches/tmp_223176402/main.java:3: error: class, interface, or enum expected settable S noScriptSelectedMsg = "Please select or create a text to edit it"; ^ /root/JavaX-Caches/tmp_223176402/main.java:5: error: class, interface, or enum expected gettable A script; ^ /root/JavaX-Caches/tmp_223176402/main.java:7: error: class, interface, or enum expected transient SingleComponentPanel scp; ^ /root/JavaX-Caches/tmp_223176402/main.java:8: error: class, interface, or enum expected transient JSyntaxTextFileEditor[] ides; ^ /root/JavaX-Caches/tmp_223176402/main.java:9: error: class, interface, or enum expected transient JExtendedTabbedPane tabs; ^ /root/JavaX-Caches/tmp_223176402/main.java:10: error: class, interface, or enum expected transient JButton btnSave, btnDiscardChanges, btnClearForAutoRun; ^ /root/JavaX-Caches/tmp_223176402/main.java:11: error: class, interface, or enum expected transient CollapsibleLeftPanel collapsibleResultPanel; ^ /root/JavaX-Caches/tmp_223176402/main.java:12: error: class, interface, or enum expected transient G22ScriptResultPanel resultPanel; ^ /root/JavaX-Caches/tmp_223176402/main.java:13: error: class, interface, or enum expected transient Mode lastVisibleMode; ^ /root/JavaX-Caches/tmp_223176402/main.java:18: error: ';' expected gettable bool editable; ^ /root/JavaX-Caches/tmp_223176402/main.java:18: error: <identifier> expected gettable bool editable; ^ /root/JavaX-Caches/tmp_223176402/main.java:20: error: illegal start of type *(G22ScriptMode *modeEnum, S *name, bool *editable) {} ^ /root/JavaX-Caches/tmp_223176402/main.java:20: error: <identifier> expected *(G22ScriptMode *modeEnum, S *name, bool *editable) {} ^ /root/JavaX-Caches/tmp_223176402/main.java:20: error: <identifier> expected *(G22ScriptMode *modeEnum, S *name, bool *editable) {} ^ /root/JavaX-Caches/tmp_223176402/main.java:20: error: ';' expected *(G22ScriptMode *modeEnum, S *name, bool *editable) {} ^ /root/JavaX-Caches/tmp_223176402/main.java:20: error: <identifier> expected *(G22ScriptMode *modeEnum, S *name, bool *editable) {} ^ /root/JavaX-Caches/tmp_223176402/main.java:20: error: ';' expected *(G22ScriptMode *modeEnum, S *name, bool *editable) {} ^ /root/JavaX-Caches/tmp_223176402/main.java:20: error: <identifier> expected *(G22ScriptMode *modeEnum, S *name, bool *editable) {} ^ /root/JavaX-Caches/tmp_223176402/main.java:22: error: <identifier> expected simplyCached abstract IVarWithNotify<S> scriptVar(); ^ /root/JavaX-Caches/tmp_223176402/main.java:26: error: <identifier> expected toString { ret name; } ^ /root/JavaX-Caches/tmp_223176402/main.java:28: error: ';' expected S tabName() { ret scriptVar().has() ? name : "Not " + firstToLower(name); } ^ /root/JavaX-Caches/tmp_223176402/main.java:28: error: not a statement S tabName() { ret scriptVar().has() ? name : "Not " + firstToLower(name); } ^ /root/JavaX-Caches/tmp_223176402/main.java:31: error: '{' expected class ModeClearedForAutoRun > Mode { ^ /root/JavaX-Caches/tmp_223176402/main.java:32: error: illegal start of type *() { super(G22ScriptMode.autoRunnable, "Cleared for auto-run", false); } ^ /root/JavaX-Caches/tmp_223176402/main.java:36: error: illegal start of expression -> script.codeForAutoRun(), ^ /root/JavaX-Caches/tmp_223176402/main.java:36: error: ';' expected -> script.codeForAutoRun(), ^ /root/JavaX-Caches/tmp_223176402/main.java:43: error: ')' expected panel.add(jbutton("Forget auto-run code", rThread forgetAutoRunCode)); ^ /root/JavaX-Caches/tmp_223176402/main.java:43: error: not a statement panel.add(jbutton("Forget auto-run code", rThread forgetAutoRunCode)); ^ /root/JavaX-Caches/tmp_223176402/main.java:43: error: ';' expected panel.add(jbutton("Forget auto-run code", rThread forgetAutoRunCode)); ^ /root/JavaX-Caches/tmp_223176402/main.java:47: error: '{' expected class ModeSaved > Mode { ^ /root/JavaX-Caches/tmp_223176402/main.java:48: error: illegal start of type *() { super(G22ScriptMode.saved, "Saved", false); } ^ /root/JavaX-Caches/tmp_223176402/main.java:51: error: ';' expected ret getterVarOnly(script.varText()); ^ /root/JavaX-Caches/tmp_223176402/main.java:51: error: ';' expected ret getterVarOnly(script.varText()); ^ /root/JavaX-Caches/tmp_223176402/main.java:55: error: ')' expected panel.add(btnClearForAutoRun = jbutton("Clear for auto-run", rThread clearForAutoRun)); ^ /root/JavaX-Caches/tmp_223176402/main.java:55: error: not a statement panel.add(btnClearForAutoRun = jbutton("Clear for auto-run", rThread clearForAutoRun)); ^ /root/JavaX-Caches/tmp_223176402/main.java:55: error: ';' expected panel.add(btnClearForAutoRun = jbutton("Clear for auto-run", rThread clearForAutoRun)); ^ /root/JavaX-Caches/tmp_223176402/main.java:56: error: ')' expected panel.add(jbutton("Forget code", rThread forgetSaved)); ^ /root/JavaX-Caches/tmp_223176402/main.java:56: error: not a statement panel.add(jbutton("Forget code", rThread forgetSaved)); ^ /root/JavaX-Caches/tmp_223176402/main.java:56: error: ';' expected panel.add(jbutton("Forget code", rThread forgetSaved)); ^ /root/JavaX-Caches/tmp_223176402/main.java:60: error: '{' expected class ModeEdit > Mode { ^ /root/JavaX-Caches/tmp_223176402/main.java:61: error: illegal start of type *() { super(G22ScriptMode.edit, "Edit", true); } ^ /root/JavaX-Caches/tmp_223176402/main.java:65: error: illegal start of expression -> script.textForEditing(), ^ /root/JavaX-Caches/tmp_223176402/main.java:65: error: ';' expected -> script.textForEditing(), ^ /root/JavaX-Caches/tmp_223176402/main.java:66: error: not a statement text -> script.receiveEditingText(text) ^ /root/JavaX-Caches/tmp_223176402/main.java:66: error: ';' expected text -> script.receiveEditingText(text) ^ /root/JavaX-Caches/tmp_223176402/main.java:73: error: ')' expected panel.add(btnSave = jbutton("Save", rThread saveEdit)); ^ /root/JavaX-Caches/tmp_223176402/main.java:73: error: not a statement panel.add(btnSave = jbutton("Save", rThread saveEdit)); ^ /root/JavaX-Caches/tmp_223176402/main.java:73: error: ';' expected panel.add(btnSave = jbutton("Save", rThread saveEdit)); ^ /root/JavaX-Caches/tmp_223176402/main.java:74: error: ')' expected panel.add(btnDiscardChanges = jbutton("Discard changes", rThread discardEdit)); ^ /root/JavaX-Caches/tmp_223176402/main.java:74: error: not a statement panel.add(btnDiscardChanges = jbutton("Discard changes", rThread discardEdit)); ^ /root/JavaX-Caches/tmp_223176402/main.java:74: error: ';' expected panel.add(btnDiscardChanges = jbutton("Discard changes", rThread discardEdit)); ^ /root/JavaX-Caches/tmp_223176402/main.java:78: error: class, interface, or enum expected transient new ModeEdit modeEdit; ^ /root/JavaX-Caches/tmp_223176402/main.java:79: error: class, interface, or enum expected transient new ModeSaved modeSaved; ^ /root/JavaX-Caches/tmp_223176402/main.java:80: error: class, interface, or enum expected transient L<Mode> modes = ll( ^ /root/JavaX-Caches/tmp_223176402/main.java:85: error: class, interface, or enum expected *(G22Utils *g22utils) {} ^ /root/JavaX-Caches/tmp_223176402/main.java:89: error: class, interface, or enum expected if (scp == null) scp = singleComponentPanel(); ^ /root/JavaX-Caches/tmp_223176402/main.java:90: error: class, interface, or enum expected loadScript(script); ^ /root/JavaX-Caches/tmp_223176402/main.java:91: error: class, interface, or enum expected ret scp; ^ /root/JavaX-Caches/tmp_223176402/main.java:92: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_223176402/main.java:98: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_223176402/main.java:100: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_223176402/main.java:104: error: class, interface, or enum expected if (scp == null) ret; ^ /root/JavaX-Caches/tmp_223176402/main.java:105: error: class, interface, or enum expected if (script == null) ^ /root/JavaX-Caches/tmp_223176402/main.java:107: error: class, interface, or enum expected else { ^ /root/JavaX-Caches/tmp_223176402/main.java:109: error: class, interface, or enum expected resultPanel = new G22ScriptResultPanel; ^ /root/JavaX-Caches/tmp_223176402/main.java:110: error: class, interface, or enum expected collapsibleResultPanel = new CollapsibleLeftPanel(false, "Output", resultPanel.visualize(), tabs.visualize()); ^ /root/JavaX-Caches/tmp_223176402/main.java:111: error: class, interface, or enum expected collapsibleResultPanel.sidePanelMargins = c -> withTopAndLeftMargin(c); ^ /root/JavaX-Caches/tmp_223176402/main.java:117: error: class, interface, or enum expected for (int i, Mode mode : unpair iterateWithIndex(modes)) { ^ /root/JavaX-Caches/tmp_223176402/main.java:119: error: class, interface, or enum expected ide.withResultPanel(false); ^ /root/JavaX-Caches/tmp_223176402/main.java:120: error: class, interface, or enum expected ide.resultPanel = resultPanel; ^ /root/JavaX-Caches/tmp_223176402/main.java:121: error: class, interface, or enum expected ide.collapsibleResultPanel = collapsibleResultPanel; ^ /root/JavaX-Caches/tmp_223176402/main.java:122: error: class, interface, or enum expected ide.wrapSection = c -> wrapEditorSection(mode, c); ^ /root/JavaX-Caches/tmp_223176402/main.java:123: error: class, interface, or enum expected ide.newCompileResult = -> script.newCompileResult(); ^ /root/JavaX-Caches/tmp_223176402/main.java:124: error: class, interface, or enum expected ide.makeParser = -> script.makeParser(); ^ /root/JavaX-Caches/tmp_223176402/main.java:125: error: class, interface, or enum expected modifyIDE(ide); ^ /root/JavaX-Caches/tmp_223176402/main.java:126: error: class, interface, or enum expected var varScript = mode.scriptVar(); ^ /root/JavaX-Caches/tmp_223176402/main.java:127: error: class, interface, or enum expected ide.lvScript(varWithNotifyToLiveValue(S.class, varScript)); ^ /root/JavaX-Caches/tmp_223176402/main.java:127: error: <identifier> expected ide.lvScript(varWithNotifyToLiveValue(S.class, varScript)); ^ /root/JavaX-Caches/tmp_223176402/main.java:128: error: class, interface, or enum expected addTab(tabs, str(mode)); ^ /root/JavaX-Caches/tmp_223176402/main.java:129: error: class, interface, or enum expected mode.addButtons(ide.buttons()); ^ /root/JavaX-Caches/tmp_223176402/main.java:130: error: class, interface, or enum expected ide.visualize(); ^ /root/JavaX-Caches/tmp_223176402/main.java:131: error: class, interface, or enum expected ide.setEditable(mode.editable()); ^ /root/JavaX-Caches/tmp_223176402/main.java:132: error: class, interface, or enum expected varScript.onChangeAndNow(text -> ^ /root/JavaX-Caches/tmp_223176402/main.java:134: error: class, interface, or enum expected ide.popDownButton.onFillingMenu(menu -> ^ /root/JavaX-Caches/tmp_223176402/main.java:136: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_223176402/main.java:141: error: class, interface, or enum expected setEnabled(script.isEditing(), btnSave, btnDiscardChanges); ^ /root/JavaX-Caches/tmp_223176402/main.java:142: error: class, interface, or enum expected setEnabled(btnClearForAutoRun, script.isSavedDistinctFromAutoRunVersion()); ^ /root/JavaX-Caches/tmp_223176402/main.java:143: error: class, interface, or enum expected for (ide : ides) ^ /root/JavaX-Caches/tmp_223176402/main.java:145: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_223176402/main.java:147: error: class, interface, or enum expected onTabSelectedAndNow(tabs, -> { ^ /root/JavaX-Caches/tmp_223176402/main.java:149: error: class, interface, or enum expected if (lastVisibleMode != null && lastVisibleMode != mode) { ^ /root/JavaX-Caches/tmp_223176402/main.java:153: error: class, interface, or enum expected var ide = visibleIDE(); ^ /root/JavaX-Caches/tmp_223176402/main.java:154: error: class, interface, or enum expected awtLater(0.5, -> { ^ /root/JavaX-Caches/tmp_223176402/main.java:156: error: class, interface, or enum expected moveCaretToLineAndCol(ide.textArea(), lac); ^ /root/JavaX-Caches/tmp_223176402/main.java:157: error: class, interface, or enum expected setEnclosingViewPosition(ide.textArea(), enclosingViewPosition(lastIDE.textArea())); ^ /root/JavaX-Caches/tmp_223176402/main.java:158: error: class, interface, or enum expected focus(ide.textArea()); ^ /root/JavaX-Caches/tmp_223176402/main.java:159: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_223176402/main.java:160: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_223176402/main.java:163: error: class, interface, or enum expected tabs.setComponentBesideTabs( ^ 100 errors only showing the first 100 errors, of 138 total; use -Xmaxerrs if you would like to see more