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

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

/root/JavaX-Caches/tmp_1168487368/main.java:1: error: class, interface, or enum expected static int rfindCodeTokens(L<S> tok, S... tokens) { ^ /root/JavaX-Caches/tmp_1168487368/main.java:3: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1168487368/main.java:7: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1168487368/main.java:11: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1168487368/main.java:14: error: class, interface, or enum expected static bool rfindCodeTokens_debug; ^ /root/JavaX-Caches/tmp_1168487368/main.java:15: error: class, interface, or enum expected static int rfindCodeTokens_indexed, rfindCodeTokens_unindexed; ^ /root/JavaX-Caches/tmp_1168487368/main.java:16: error: class, interface, or enum expected static int rfindCodeTokens_bails, rfindCodeTokens_nonbails; ^ /root/JavaX-Caches/tmp_1168487368/main.java:18: error: class, interface, or enum expected static int rfindCodeTokens(L<S> tok, int startIdx, boolean ignoreCase, S[] tokens, O condition) { ^ /root/JavaX-Caches/tmp_1168487368/main.java:20: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1168487368/main.java:26: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_1168487368/main.java:28: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1168487368/main.java:33: error: class, interface, or enum expected ret -1; ^ /root/JavaX-Caches/tmp_1168487368/main.java:34: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1168487368/main.java:37: error: class, interface, or enum expected outer: for (int i = min(endIndex, tok.size()-tokens.length*2) | 1; i >= startIdx; i -= 2) { ^ /root/JavaX-Caches/tmp_1168487368/main.java:37: error: class, interface, or enum expected outer: for (int i = min(endIndex, tok.size()-tokens.length*2) | 1; i >= startIdx; i -= 2) { ^ /root/JavaX-Caches/tmp_1168487368/main.java:37: error: class, interface, or enum expected outer: for (int i = min(endIndex, tok.size()-tokens.length*2) | 1; i >= startIdx; i -= 2) { ^ /root/JavaX-Caches/tmp_1168487368/main.java:38: error: class, interface, or enum expected for (int j = 0; j < tokens.length; j++) { ^ /root/JavaX-Caches/tmp_1168487368/main.java:38: error: class, interface, or enum expected for (int j = 0; j < tokens.length; j++) { ^ /root/JavaX-Caches/tmp_1168487368/main.java:40: error: class, interface, or enum expected boolean match; ^ /root/JavaX-Caches/tmp_1168487368/main.java:41: error: class, interface, or enum expected if (eq(p, "*")) match = true; ^ /root/JavaX-Caches/tmp_1168487368/main.java:42: error: class, interface, or enum expected else if (eq(p, "<quoted>")) match = isQuoted(t); ^ /root/JavaX-Caches/tmp_1168487368/main.java:43: error: class, interface, or enum expected else if (eq(p, "<id>")) match = isIdentifier(t); ^ /root/JavaX-Caches/tmp_1168487368/main.java:44: error: class, interface, or enum expected else if (eq(p, "<int>")) match = isInteger(t); ^ /root/JavaX-Caches/tmp_1168487368/main.java:45: error: class, interface, or enum expected else if (eq(p, "\\*")) match = eq("*", t); ^ /root/JavaX-Caches/tmp_1168487368/main.java:46: error: class, interface, or enum expected else match = ignoreCase ? eqic(p, t) : eq(p, t); ^ /root/JavaX-Caches/tmp_1168487368/main.java:48: error: class, interface, or enum expected if (!match) ^ /root/JavaX-Caches/tmp_1168487368/main.java:50: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1168487368/main.java:54: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1168487368/main.java:56: error: class, interface, or enum expected } ^ 29 errors