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

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

/root/JavaX-Caches/tmp_788752742/main.java:1: error: class, interface, or enum expected sclass CalculatedConceptFieldIndex<A extends Concept, Val> implements IConceptIndex { ^ /root/JavaX-Caches/tmp_788752742/main.java:3: error: class, interface, or enum expected IF1<A, Val> f; ^ /root/JavaX-Caches/tmp_788752742/main.java:4: error: class, interface, or enum expected new HashMap<A, Val> objectToValue; ^ /root/JavaX-Caches/tmp_788752742/main.java:5: error: class, interface, or enum expected new MultiMap<Val, A> valueToObject; ^ /root/JavaX-Caches/tmp_788752742/main.java:7: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_788752742/main.java:8: error: class, interface, or enum expected *(Class<A> cc, IF1<A, Val> f) { this(db_mainConcepts(), cc, f); } ^ /root/JavaX-Caches/tmp_788752742/main.java:12: error: class, interface, or enum expected for (A c : list(concepts, cc)) ^ /root/JavaX-Caches/tmp_788752742/main.java:14: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_788752742/main.java:16: error: class, interface, or enum expected public void update(Concept c) { ^ /root/JavaX-Caches/tmp_788752742/main.java:18: error: class, interface, or enum expected updateImpl((A) c); ^ /root/JavaX-Caches/tmp_788752742/main.java:19: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_788752742/main.java:23: error: class, interface, or enum expected Val oldValue = objectToValue.get(c); ^ /root/JavaX-Caches/tmp_788752742/main.java:24: error: class, interface, or enum expected if (neq(newValue, oldValue)) { ^ /root/JavaX-Caches/tmp_788752742/main.java:26: error: class, interface, or enum expected valueToObject.put(newValue, (A) c); ^ /root/JavaX-Caches/tmp_788752742/main.java:27: error: class, interface, or enum expected objectToValue.put((A) c, newValue); ^ /root/JavaX-Caches/tmp_788752742/main.java:28: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_788752742/main.java:31: error: class, interface, or enum expected public synchronized void remove(Concept c) { ^ /root/JavaX-Caches/tmp_788752742/main.java:33: error: class, interface, or enum expected Val value = callF(f, (A) c); ^ /root/JavaX-Caches/tmp_788752742/main.java:34: error: class, interface, or enum expected objectToValue.remove(c); ^ /root/JavaX-Caches/tmp_788752742/main.java:35: error: class, interface, or enum expected valueToObject.remove(value, (A) c); ^ /root/JavaX-Caches/tmp_788752742/main.java:36: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_788752742/main.java:40: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_788752742/main.java:42: error: class, interface, or enum expected public synchronized L<A> getAll(Val value) { ^ /root/JavaX-Caches/tmp_788752742/main.java:44: error: class, interface, or enum expected } ^ 24 errors