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

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

/root/JavaX-Caches/tmp_2113498726/main.java:1: error: class, interface, or enum expected static int findCodeTokens(L<S> tok, S... tokens) { ^ /root/JavaX-Caches/tmp_2113498726/main.java:3: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2113498726/main.java:7: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2113498726/main.java:11: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2113498726/main.java:14: error: class, interface, or enum expected static bool findCodeTokens_debug; ^ /root/JavaX-Caches/tmp_2113498726/main.java:15: error: class, interface, or enum expected static int findCodeTokens_indexed, findCodeTokens_unindexed; ^ /root/JavaX-Caches/tmp_2113498726/main.java:16: error: class, interface, or enum expected static int findCodeTokens_bails, findCodeTokens_nonbails; ^ /root/JavaX-Caches/tmp_2113498726/main.java:18: error: class, interface, or enum expected static int findCodeTokens(L<S> tok, int startIdx, boolean ignoreCase, S[] tokens, O condition) { ^ /root/JavaX-Caches/tmp_2113498726/main.java:22: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_2113498726/main.java:24: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2113498726/main.java:29: error: class, interface, or enum expected ret -1; ^ /root/JavaX-Caches/tmp_2113498726/main.java:30: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2113498726/main.java:33: error: class, interface, or enum expected int end = tok.size()-tokens.length*2+2, nTokens = tokens.length; ^ /root/JavaX-Caches/tmp_2113498726/main.java:34: error: class, interface, or enum expected outer: for (int i = startIdx | 1; i < end; i += 2) { ^ /root/JavaX-Caches/tmp_2113498726/main.java:34: error: class, interface, or enum expected outer: for (int i = startIdx | 1; i < end; i += 2) { ^ /root/JavaX-Caches/tmp_2113498726/main.java:34: error: class, interface, or enum expected outer: for (int i = startIdx | 1; i < end; i += 2) { ^ /root/JavaX-Caches/tmp_2113498726/main.java:35: error: class, interface, or enum expected for (int j = 0; j < nTokens; j++) { ^ /root/JavaX-Caches/tmp_2113498726/main.java:35: error: class, interface, or enum expected for (int j = 0; j < nTokens; j++) { ^ /root/JavaX-Caches/tmp_2113498726/main.java:37: error: class, interface, or enum expected boolean match; ^ /root/JavaX-Caches/tmp_2113498726/main.java:38: error: class, interface, or enum expected if (eq(p, "*")) match = true; ^ /root/JavaX-Caches/tmp_2113498726/main.java:39: error: class, interface, or enum expected else if (eq(p, "<quoted>")) match = isQuoted(t); ^ /root/JavaX-Caches/tmp_2113498726/main.java:40: error: class, interface, or enum expected else if (eq(p, "<id>")) match = isIdentifier(t); ^ /root/JavaX-Caches/tmp_2113498726/main.java:41: error: class, interface, or enum expected else if (eq(p, "<int>")) match = isInteger(t); ^ /root/JavaX-Caches/tmp_2113498726/main.java:42: error: class, interface, or enum expected else if (eq(p, "\\*")) match = eq("*", t); ^ /root/JavaX-Caches/tmp_2113498726/main.java:43: error: class, interface, or enum expected else match = ignoreCase ? eqic(p, t) : eq(p, t); ^ /root/JavaX-Caches/tmp_2113498726/main.java:45: error: class, interface, or enum expected if (!match) ^ /root/JavaX-Caches/tmp_2113498726/main.java:47: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2113498726/main.java:51: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2113498726/main.java:53: error: class, interface, or enum expected } ^ 29 errors