Wrote /root/JavaX-Caches/tmp_2034293568/main.java - 3404 bytes (written=3404, should be 3404) 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:/root/.tinybrain/snippet-cache/1400546.jar:/root/.tinybrain/snippet-cache/1400547.jar:/root/.tinybrain/snippet-cache/1400548.jar:/root/.tinybrain/snippet-cache/1400555.jar -d /root/JavaX-Caches/tmp_2058889302 /root/JavaX-Caches/tmp_2034293568/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_2034293568/main.java:1: error: class, interface, or enum expected transient srecord noeq G22NetworkInstance(G22Network network) { ^ /root/JavaX-Caches/tmp_2034293568/main.java:3: error: class, interface, or enum expected new Map<G22NetworkElement, Value> valuesByBlueprint; ^ /root/JavaX-Caches/tmp_2034293568/main.java:5: error: class, interface, or enum expected event dirtyStatesChanged; ^ /root/JavaX-Caches/tmp_2034293568/main.java:7: error: class, interface, or enum expected sclass Value { ^ /root/JavaX-Caches/tmp_2034293568/main.java:9: error: class, interface, or enum expected settable Timestamp calculatedWhen; // when the value was calculated ^ /root/JavaX-Caches/tmp_2034293568/main.java:10: error: class, interface, or enum expected settable volatile bool dirty; // does this node need recalculation? ^ /root/JavaX-Caches/tmp_2034293568/main.java:11: error: class, interface, or enum expected settable volatile bool calculating; // are we recalculating right now? ^ /root/JavaX-Caches/tmp_2034293568/main.java:12: error: class, interface, or enum expected settable volatile Throwable error; // error during calculation? ^ /root/JavaX-Caches/tmp_2034293568/main.java:14: error: class, interface, or enum expected O get() { ret object; } ^ /root/JavaX-Caches/tmp_2034293568/main.java:14: error: class, interface, or enum expected O get() { ret object; } ^ /root/JavaX-Caches/tmp_2034293568/main.java:16: error: class, interface, or enum expected toString { ret classNameWithIdentity(this) + ": " + object; } ^ /root/JavaX-Caches/tmp_2034293568/main.java:18: error: class, interface, or enum expected bool hasError() { ret error != null; } ^ /root/JavaX-Caches/tmp_2034293568/main.java:24: error: class, interface, or enum expected Value value = valueForBlueprint(e); ^ /root/JavaX-Caches/tmp_2034293568/main.java:26: error: class, interface, or enum expected value.calculating(true); ^ /root/JavaX-Caches/tmp_2034293568/main.java:27: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_2034293568/main.java:29: error: class, interface, or enum expected O instance = e.makeInstance(g22utils, this); ^ /root/JavaX-Caches/tmp_2034293568/main.java:30: error: class, interface, or enum expected print("Calculated: " + instance); ^ /root/JavaX-Caches/tmp_2034293568/main.java:32: error: class, interface, or enum expected value.error(null); ^ /root/JavaX-Caches/tmp_2034293568/main.java:33: error: class, interface, or enum expected setObject(e, value, instance); ^ /root/JavaX-Caches/tmp_2034293568/main.java:34: error: class, interface, or enum expected } catch print exception { ^ /root/JavaX-Caches/tmp_2034293568/main.java:36: error: class, interface, or enum expected value.dirty(false); ^ /root/JavaX-Caches/tmp_2034293568/main.java:37: error: class, interface, or enum expected } finally { ^ /root/JavaX-Caches/tmp_2034293568/main.java:39: error: class, interface, or enum expected dirtyStatesChanged(); ^ /root/JavaX-Caches/tmp_2034293568/main.java:40: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2034293568/main.java:45: error: class, interface, or enum expected if (value.dirty()) { ^ /root/JavaX-Caches/tmp_2034293568/main.java:47: error: class, interface, or enum expected dirtyStatesChanged(); ^ /root/JavaX-Caches/tmp_2034293568/main.java:48: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2034293568/main.java:50: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2034293568/main.java:56: error: class, interface, or enum expected value.dirty(true); ^ /root/JavaX-Caches/tmp_2034293568/main.java:57: error: class, interface, or enum expected dirtyStatesChanged(); ^ /root/JavaX-Caches/tmp_2034293568/main.java:58: error: class, interface, or enum expected valuesByBlueprint.put(e, value); ^ /root/JavaX-Caches/tmp_2034293568/main.java:60: error: class, interface, or enum expected mapPut(valuesByIdentifier, e.identifier(), value); ^ /root/JavaX-Caches/tmp_2034293568/main.java:61: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2034293568/main.java:66: error: class, interface, or enum expected O object = value!; ^ /root/JavaX-Caches/tmp_2034293568/main.java:67: error: class, interface, or enum expected printVars("getObjectForBlueprint", +element, +value, +object); ^ /root/JavaX-Caches/tmp_2034293568/main.java:68: error: class, interface, or enum expected ret object; ^ /root/JavaX-Caches/tmp_2034293568/main.java:69: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2034293568/main.java:73: error: class, interface, or enum expected print("invalidateDependentNodes", element); ^ /root/JavaX-Caches/tmp_2034293568/main.java:74: error: class, interface, or enum expected for (e : element.downstreamNodes()) ^ /root/JavaX-Caches/tmp_2034293568/main.java:76: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2034293568/main.java:82: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2034293568/main.java:86: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2034293568/main.java:90: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2034293568/main.java:95: error: class, interface, or enum expected var value = valueForBlueprint(element); ^ /root/JavaX-Caches/tmp_2034293568/main.java:96: error: class, interface, or enum expected if (value.dirty()) ret; // Node already dirty ^ /root/JavaX-Caches/tmp_2034293568/main.java:98: error: class, interface, or enum expected value.dirty(true); ^ /root/JavaX-Caches/tmp_2034293568/main.java:99: error: class, interface, or enum expected dirtyStatesChanged(); ^ /root/JavaX-Caches/tmp_2034293568/main.java:100: error: class, interface, or enum expected invalidateDependentNodes(element); ^ /root/JavaX-Caches/tmp_2034293568/main.java:101: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2034293568/main.java:108: error: class, interface, or enum expected var e = random(calculableElements); ^ /root/JavaX-Caches/tmp_2034293568/main.java:109: error: class, interface, or enum expected calculateNode(g22utils, e); ^ /root/JavaX-Caches/tmp_2034293568/main.java:110: error: class, interface, or enum expected ret e; ^ /root/JavaX-Caches/tmp_2034293568/main.java:111: error: class, interface, or enum expected } ^ 53 errors