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

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

/root/JavaX-Caches/tmp_1023886123/main.java:3: error: class, interface, or enum expected static <A> A get(L<A> l, int idx) { ^ /root/JavaX-Caches/tmp_1023886123/main.java:5: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1023886123/main.java:14: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1023886123/main.java:19: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1023886123/main.java:26: error: class, interface, or enum expected if (o instanceof Class) return get((Class) o, field); ^ /root/JavaX-Caches/tmp_1023886123/main.java:28: error: class, interface, or enum expected if (o instanceof Map) ^ /root/JavaX-Caches/tmp_1023886123/main.java:31: error: class, interface, or enum expected Field f = getOpt_findField(o.getClass(), field); ^ /root/JavaX-Caches/tmp_1023886123/main.java:32: error: class, interface, or enum expected if (f != null) { ^ /root/JavaX-Caches/tmp_1023886123/main.java:34: error: class, interface, or enum expected ret f.get(o); ^ /root/JavaX-Caches/tmp_1023886123/main.java:35: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1023886123/main.java:40: error: class, interface, or enum expected endif ^ /root/JavaX-Caches/tmp_1023886123/main.java:43: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1023886123/main.java:45: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1023886123/main.java:49: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1023886123/main.java:53: error: class, interface, or enum expected Field f = get_findField(o.getClass(), field); ^ /root/JavaX-Caches/tmp_1023886123/main.java:54: error: class, interface, or enum expected makeAccessible(f); ^ /root/JavaX-Caches/tmp_1023886123/main.java:55: error: class, interface, or enum expected ret f.get(o); ^ /root/JavaX-Caches/tmp_1023886123/main.java:56: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1023886123/main.java:61: error: class, interface, or enum expected makeAccessible(f); ^ /root/JavaX-Caches/tmp_1023886123/main.java:62: error: class, interface, or enum expected return f.get(null); ^ /root/JavaX-Caches/tmp_1023886123/main.java:63: error: class, interface, or enum expected } catch (Exception e) { ^ /root/JavaX-Caches/tmp_1023886123/main.java:65: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1023886123/main.java:70: error: class, interface, or enum expected do { ^ /root/JavaX-Caches/tmp_1023886123/main.java:74: error: class, interface, or enum expected _c = _c.getSuperclass(); ^ /root/JavaX-Caches/tmp_1023886123/main.java:75: error: class, interface, or enum expected } while (_c != null); ^ /root/JavaX-Caches/tmp_1023886123/main.java:76: error: class, interface, or enum expected throw new RuntimeException("Static field '" + field + "' not found in " + c.getName()); ^ /root/JavaX-Caches/tmp_1023886123/main.java:77: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1023886123/main.java:81: error: class, interface, or enum expected do { ^ /root/JavaX-Caches/tmp_1023886123/main.java:85: error: class, interface, or enum expected _c = _c.getSuperclass(); ^ /root/JavaX-Caches/tmp_1023886123/main.java:86: error: class, interface, or enum expected } while (_c != null); ^ /root/JavaX-Caches/tmp_1023886123/main.java:87: error: class, interface, or enum expected throw new RuntimeException("Field '" + field + "' not found in " + c.getName()); ^ /root/JavaX-Caches/tmp_1023886123/main.java:88: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1023886123/main.java:92: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1023886123/main.java:96: error: class, interface, or enum expected } ^ 34 errors