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

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

/root/JavaX-Caches/tmp_936526809/main.java:1: error: class, interface, or enum expected asclass ConceptFieldIndexBase<A extends Concept, Val> implements IConceptIndex, IFieldIndex<A, Val>, IConceptCounter { ^ /root/JavaX-Caches/tmp_936526809/main.java:3: error: class, interface, or enum expected Class<A> cc; ^ /root/JavaX-Caches/tmp_936526809/main.java:4: error: class, interface, or enum expected S field; ^ /root/JavaX-Caches/tmp_936526809/main.java:5: error: class, interface, or enum expected new HashMap<A, Val> objectToValue; ^ /root/JavaX-Caches/tmp_936526809/main.java:6: error: class, interface, or enum expected MultiSetMap<Val, A> valueToObject; // initialized in subclass ^ /root/JavaX-Caches/tmp_936526809/main.java:8: error: class, interface, or enum expected *() { init(); } ^ /root/JavaX-Caches/tmp_936526809/main.java:8: error: class, interface, or enum expected *() { init(); } ^ /root/JavaX-Caches/tmp_936526809/main.java:9: error: class, interface, or enum expected *(Class<A> cc, S field) { this(db_mainConcepts(), cc, field); } ^ /root/JavaX-Caches/tmp_936526809/main.java:12: error: class, interface, or enum expected concepts.addConceptIndex(this); ^ /root/JavaX-Caches/tmp_936526809/main.java:13: error: class, interface, or enum expected for (A c : list(concepts, cc)) ^ /root/JavaX-Caches/tmp_936526809/main.java:15: error: class, interface, or enum expected register(); ^ /root/JavaX-Caches/tmp_936526809/main.java:16: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_936526809/main.java:18: error: class, interface, or enum expected abstract void init(); ^ /root/JavaX-Caches/tmp_936526809/main.java:19: error: class, interface, or enum expected abstract void register(); ^ /root/JavaX-Caches/tmp_936526809/main.java:21: error: class, interface, or enum expected public void update(Concept c) { ^ /root/JavaX-Caches/tmp_936526809/main.java:23: error: class, interface, or enum expected updateImpl(c); ^ /root/JavaX-Caches/tmp_936526809/main.java:24: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_936526809/main.java:28: error: class, interface, or enum expected Val oldValue = objectToValue.get(c); ^ /root/JavaX-Caches/tmp_936526809/main.java:29: error: class, interface, or enum expected if (newValue == null || newValue != oldValue) { ^ /root/JavaX-Caches/tmp_936526809/main.java:31: error: class, interface, or enum expected valueToObject.put(newValue, (A) c); ^ /root/JavaX-Caches/tmp_936526809/main.java:32: error: class, interface, or enum expected syncPut(objectToValue, (A) c, newValue); ^ /root/JavaX-Caches/tmp_936526809/main.java:33: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_936526809/main.java:36: error: class, interface, or enum expected public synchronized void remove(Concept c) { ^ /root/JavaX-Caches/tmp_936526809/main.java:38: error: class, interface, or enum expected Val value = cast cget(c, field); ^ /root/JavaX-Caches/tmp_936526809/main.java:39: error: class, interface, or enum expected syncRemove(objectToValue, (A) c); ^ /root/JavaX-Caches/tmp_936526809/main.java:40: error: class, interface, or enum expected valueToObject.remove(value, (A) c); ^ /root/JavaX-Caches/tmp_936526809/main.java:41: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_936526809/main.java:45: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_936526809/main.java:47: error: class, interface, or enum expected public synchronized Cl<A> getAll(Val value) { ^ /root/JavaX-Caches/tmp_936526809/main.java:49: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_936526809/main.java:51: error: class, interface, or enum expected public synchronized L<Val> allValues() { ret cloneKeys_noSync(valueToObject.data); } ^ /root/JavaX-Caches/tmp_936526809/main.java:51: error: class, interface, or enum expected public synchronized L<Val> allValues() { ret cloneKeys_noSync(valueToObject.data); } ^ /root/JavaX-Caches/tmp_936526809/main.java:55: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_936526809/main.java:57: error: class, interface, or enum expected public synchronized MultiSet<Val> allValues_multiSet() { ^ /root/JavaX-Caches/tmp_936526809/main.java:59: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_936526809/main.java:61: error: class, interface, or enum expected public Class<? extends Concept> conceptClass() { ret cc; } ^ /root/JavaX-Caches/tmp_936526809/main.java:61: error: class, interface, or enum expected public Class<? extends Concept> conceptClass() { ret cc; } ^ /root/JavaX-Caches/tmp_936526809/main.java:62: error: class, interface, or enum expected public int countConcepts() { ret l(objectToValue); } ^ /root/JavaX-Caches/tmp_936526809/main.java:62: error: class, interface, or enum expected public int countConcepts() { ret l(objectToValue); } ^ /root/JavaX-Caches/tmp_936526809/main.java:63: error: class, interface, or enum expected public Cl<Concept> allConcepts() { ret (Cl) keys(objectToValue); } ^ /root/JavaX-Caches/tmp_936526809/main.java:63: error: class, interface, or enum expected public Cl<Concept> allConcepts() { ret (Cl) keys(objectToValue); } ^ /root/JavaX-Caches/tmp_936526809/main.java:65: error: class, interface, or enum expected O mutex() { this; } ^ 42 errors