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

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

/root/JavaX-Caches/tmp_2121679850/main.java:1: error: class, interface, or enum expected concept G22Network > ConceptWithChangeListeners { ^ /root/JavaX-Caches/tmp_2121679850/main.java:5: error: class, interface, or enum expected Cl<G22NetworkElement> elements = syncL(); ^ /root/JavaX-Caches/tmp_2121679850/main.java:6: error: class, interface, or enum expected settableWithVar int magneticDistance = 100; ^ /root/JavaX-Caches/tmp_2121679850/main.java:9: error: class, interface, or enum expected settableWithVar bool autoCalculate = true; ^ /root/JavaX-Caches/tmp_2121679850/main.java:11: error: class, interface, or enum expected toString { ret or2(description, super.toString()); } ^ /root/JavaX-Caches/tmp_2121679850/main.java:11: error: class, interface, or enum expected toString { ret or2(description, super.toString()); } ^ /root/JavaX-Caches/tmp_2121679850/main.java:18: error: class, interface, or enum expected new L<Port> inputPorts; ^ /root/JavaX-Caches/tmp_2121679850/main.java:19: error: class, interface, or enum expected new L<Port> outputPorts; ^ /root/JavaX-Caches/tmp_2121679850/main.java:21: error: class, interface, or enum expected for (element : elements) ^ /root/JavaX-Caches/tmp_2121679850/main.java:25: error: class, interface, or enum expected for (port1 : inputPorts) { ^ /root/JavaX-Caches/tmp_2121679850/main.java:27: error: class, interface, or enum expected Rect bounds1 = port1.bounds(); ^ /root/JavaX-Caches/tmp_2121679850/main.java:28: error: class, interface, or enum expected new Lowest<G22NetworkElement.Port> best; ^ /root/JavaX-Caches/tmp_2121679850/main.java:30: error: class, interface, or enum expected for (port2 : outputPorts) { ^ /root/JavaX-Caches/tmp_2121679850/main.java:34: error: class, interface, or enum expected if (distance >= magneticDistance) continue; ^ /root/JavaX-Caches/tmp_2121679850/main.java:37: error: class, interface, or enum expected if (!isSubclassOf(port2.dataType(), port1.dataType())) continue; ^ /root/JavaX-Caches/tmp_2121679850/main.java:40: error: class, interface, or enum expected best.put(port2, distance); ^ /root/JavaX-Caches/tmp_2121679850/main.java:41: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2121679850/main.java:44: error: class, interface, or enum expected if (port2 != null) { ^ /root/JavaX-Caches/tmp_2121679850/main.java:46: error: class, interface, or enum expected newCables.add(cable); ^ /root/JavaX-Caches/tmp_2121679850/main.java:47: error: class, interface, or enum expected cable.connect(); ^ /root/JavaX-Caches/tmp_2121679850/main.java:48: error: class, interface, or enum expected print("Made cable: " + cable); ^ /root/JavaX-Caches/tmp_2121679850/main.java:49: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2121679850/main.java:53: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2121679850/main.java:59: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2121679850/main.java:63: error: class, interface, or enum expected for (element : elements) ^ /root/JavaX-Caches/tmp_2121679850/main.java:66: error: class, interface, or enum expected ret set; ^ /root/JavaX-Caches/tmp_2121679850/main.java:67: error: class, interface, or enum expected } ^ 27 errors