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

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

/root/JavaX-Caches/tmp_426453056/main.java:3: error: class, interface, or enum expected static int findCodeTokens(L<S> tok, S... tokens) { ^ /root/JavaX-Caches/tmp_426453056/main.java:5: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_426453056/main.java:9: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_426453056/main.java:13: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_426453056/main.java:16: error: class, interface, or enum expected static int findCodeTokens_bails, findCodeTokens_nonbails; ^ /root/JavaX-Caches/tmp_426453056/main.java:18: error: class, interface, or enum expected sinterface findCodeTokens_Matcher { ^ /root/JavaX-Caches/tmp_426453056/main.java:20: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_426453056/main.java:24: error: class, interface, or enum expected int i = startIdx | 1; ^ /root/JavaX-Caches/tmp_426453056/main.java:25: error: class, interface, or enum expected if (i >= end) ret -1; ^ /root/JavaX-Caches/tmp_426453056/main.java:28: error: class, interface, or enum expected S firstToken = tokens[0]; ^ /root/JavaX-Caches/tmp_426453056/main.java:29: error: class, interface, or enum expected if (!ignoreCase && !findCodeTokens_specials.contains(firstToken)) { ^ /root/JavaX-Caches/tmp_426453056/main.java:33: error: class, interface, or enum expected ret -1; ^ /root/JavaX-Caches/tmp_426453056/main.java:34: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_426453056/main.java:36: error: class, interface, or enum expected endif ^ /root/JavaX-Caches/tmp_426453056/main.java:41: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_426453056/main.java:44: error: class, interface, or enum expected for j to nTokens: { ^ /root/JavaX-Caches/tmp_426453056/main.java:46: error: class, interface, or enum expected findCodeTokens_Matcher matcher; ^ /root/JavaX-Caches/tmp_426453056/main.java:47: error: class, interface, or enum expected if (p.equals("*")) ^ /root/JavaX-Caches/tmp_426453056/main.java:49: error: class, interface, or enum expected else if (p.equals("<quoted>")) ^ /root/JavaX-Caches/tmp_426453056/main.java:51: error: class, interface, or enum expected else if (p.equals("<id>")) ^ /root/JavaX-Caches/tmp_426453056/main.java:54: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_426453056/main.java:57: error: class, interface, or enum expected endifndef ^ /root/JavaX-Caches/tmp_426453056/main.java:61: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_426453056/main.java:64: error: class, interface, or enum expected endifndef ^ /root/JavaX-Caches/tmp_426453056/main.java:67: error: class, interface, or enum expected else if (ignoreCase) ^ /root/JavaX-Caches/tmp_426453056/main.java:69: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_426453056/main.java:71: error: class, interface, or enum expected matchers[j] = matcher; ^ /root/JavaX-Caches/tmp_426453056/main.java:72: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_426453056/main.java:74: error: class, interface, or enum expected outer: for (; i < end; i += 2) { ^ /root/JavaX-Caches/tmp_426453056/main.java:74: error: class, interface, or enum expected outer: for (; i < end; i += 2) { ^ /root/JavaX-Caches/tmp_426453056/main.java:75: error: class, interface, or enum expected for (int j = 0; j < nTokens; j++) ^ /root/JavaX-Caches/tmp_426453056/main.java:75: error: class, interface, or enum expected for (int j = 0; j < nTokens; j++) ^ /root/JavaX-Caches/tmp_426453056/main.java:79: error: class, interface, or enum expected if (condition == null || checkTokCondition(condition, tok, i-1)) // pass N index ^ /root/JavaX-Caches/tmp_426453056/main.java:81: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_426453056/main.java:83: error: class, interface, or enum expected } ^ 35 errors