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

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

/root/JavaX-Caches/tmp_613058544/main.java:1: error: class, interface, or enum expected sinterface ISearchVar { ^ /root/JavaX-Caches/tmp_613058544/main.java:3: error: class, interface, or enum expected O get(); ^ /root/JavaX-Caches/tmp_613058544/main.java:4: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_613058544/main.java:8: error: class, interface, or enum expected Class<A> type; ^ /root/JavaX-Caches/tmp_613058544/main.java:10: error: class, interface, or enum expected public A get() { ret value; } ^ /root/JavaX-Caches/tmp_613058544/main.java:10: error: class, interface, or enum expected public A get() { ret value; } ^ /root/JavaX-Caches/tmp_613058544/main.java:12: error: class, interface, or enum expected public S toString() { ret str(value); } ^ /root/JavaX-Caches/tmp_613058544/main.java:12: error: class, interface, or enum expected public S toString() { ret str(value); } ^ /root/JavaX-Caches/tmp_613058544/main.java:14: error: class, interface, or enum expected bool canHold(O o) { ret type == null || isInstance(type, o); } ^ /root/JavaX-Caches/tmp_613058544/main.java:16: error: class, interface, or enum expected public bool set(O o) { if (canHold(o)) { value = (A) o; true; } else false; } ^ /root/JavaX-Caches/tmp_613058544/main.java:16: error: class, interface, or enum expected public bool set(O o) { if (canHold(o)) { value = (A) o; true; } else false; } ^ /root/JavaX-Caches/tmp_613058544/main.java:16: error: class, interface, or enum expected public bool set(O o) { if (canHold(o)) { value = (A) o; true; } else false; } ^ /root/JavaX-Caches/tmp_613058544/main.java:16: error: class, interface, or enum expected public bool set(O o) { if (canHold(o)) { value = (A) o; true; } else false; } ^ /root/JavaX-Caches/tmp_613058544/main.java:21: error: class, interface, or enum expected O[] params; ^ /root/JavaX-Caches/tmp_613058544/main.java:23: error: class, interface, or enum expected *(Class *c, O[] params) { ^ /root/JavaX-Caches/tmp_613058544/main.java:25: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_613058544/main.java:30: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_613058544/main.java:34: error: class, interface, or enum expected ret var.value = searchConcept(var.type, params); ^ /root/JavaX-Caches/tmp_613058544/main.java:35: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_613058544/main.java:40: error: class, interface, or enum expected for (A concept : list(c)) ^ /root/JavaX-Caches/tmp_613058544/main.java:43: error: class, interface, or enum expected null; ^ /root/JavaX-Caches/tmp_613058544/main.java:44: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_613058544/main.java:48: error: class, interface, or enum expected new L<A> l; ^ /root/JavaX-Caches/tmp_613058544/main.java:50: error: class, interface, or enum expected for (A concept : list(c)) ^ /root/JavaX-Caches/tmp_613058544/main.java:53: error: class, interface, or enum expected ret l; ^ /root/JavaX-Caches/tmp_613058544/main.java:54: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_613058544/main.java:57: error: class, interface, or enum expected for (int i = 0; i+1 < l(params); i += 2) { ^ /root/JavaX-Caches/tmp_613058544/main.java:57: error: class, interface, or enum expected for (int i = 0; i+1 < l(params); i += 2) { ^ /root/JavaX-Caches/tmp_613058544/main.java:59: error: class, interface, or enum expected O val = derefRef(params[i+1]); ^ /root/JavaX-Caches/tmp_613058544/main.java:60: error: class, interface, or enum expected O actual = cget(c, field); ^ /root/JavaX-Caches/tmp_613058544/main.java:61: error: class, interface, or enum expected if (val instanceof Subsearch) { ^ /root/JavaX-Caches/tmp_613058544/main.java:63: error: class, interface, or enum expected if (!isInstance(s.c, actual)) false; // wrong type ^ /root/JavaX-Caches/tmp_613058544/main.java:64: error: class, interface, or enum expected if (!searchConcept_checkParams((Concept) actual, s.params)) false; // bad params ^ /root/JavaX-Caches/tmp_613058544/main.java:65: error: class, interface, or enum expected } else if (val instanceof ISearchVar) { ^ /root/JavaX-Caches/tmp_613058544/main.java:67: error: class, interface, or enum expected if (!v.set(actual)) false; ^ /root/JavaX-Caches/tmp_613058544/main.java:68: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_613058544/main.java:70: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_613058544/main.java:72: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_613058544/main.java:76: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_613058544/main.java:88: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_613058544/main.java:92: error: class, interface, or enum expected var.type = c; ^ /root/JavaX-Caches/tmp_613058544/main.java:93: error: class, interface, or enum expected ret var; ^ /root/JavaX-Caches/tmp_613058544/main.java:94: error: class, interface, or enum expected } ^ 43 errors