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

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

/root/JavaX-Caches/tmp_510121275/main.java:1: error: class, interface, or enum expected static int findCodeTokens(L<S> tok, S... tokens) { ^ /root/JavaX-Caches/tmp_510121275/main.java:3: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_510121275/main.java:7: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_510121275/main.java:11: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_510121275/main.java:14: error: class, interface, or enum expected static int findCodeTokens_bails, findCodeTokens_nonbails; ^ /root/JavaX-Caches/tmp_510121275/main.java:16: error: class, interface, or enum expected sinterface findCodeTokens_Matcher { ^ /root/JavaX-Caches/tmp_510121275/main.java:18: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_510121275/main.java:22: error: class, interface, or enum expected int i = startIdx | 1; ^ /root/JavaX-Caches/tmp_510121275/main.java:24: error: class, interface, or enum expected findCodeTokens_Matcher[] matchers = new[nTokens]; ^ /root/JavaX-Caches/tmp_510121275/main.java:25: error: class, interface, or enum expected IContentsIndexedList2 indexedList = tok instanceof IContentsIndexedList2 ? (IContentsIndexedList2) tok : null; ^ /root/JavaX-Caches/tmp_510121275/main.java:26: error: class, interface, or enum expected ifdef findCodeTokens_debug ^ /root/JavaX-Caches/tmp_510121275/main.java:28: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_510121275/main.java:31: error: class, interface, or enum expected int indicesOfs = 0; ^ /root/JavaX-Caches/tmp_510121275/main.java:33: error: class, interface, or enum expected for j to nTokens: { ^ /root/JavaX-Caches/tmp_510121275/main.java:35: error: class, interface, or enum expected findCodeTokens_Matcher matcher; ^ /root/JavaX-Caches/tmp_510121275/main.java:36: error: class, interface, or enum expected if (p.equals("*")) ^ /root/JavaX-Caches/tmp_510121275/main.java:38: error: class, interface, or enum expected else if (p.equals("<quoted>")) ^ /root/JavaX-Caches/tmp_510121275/main.java:40: error: class, interface, or enum expected else if (p.equals("<id>")) ^ /root/JavaX-Caches/tmp_510121275/main.java:42: error: class, interface, or enum expected else if (p.equals("<int>")) ^ /root/JavaX-Caches/tmp_510121275/main.java:44: error: class, interface, or enum expected else if (p.equals("\\*")) ^ /root/JavaX-Caches/tmp_510121275/main.java:46: error: class, interface, or enum expected else if (ignoreCase) ^ /root/JavaX-Caches/tmp_510121275/main.java:48: error: class, interface, or enum expected else { ^ /root/JavaX-Caches/tmp_510121275/main.java:50: error: class, interface, or enum expected if (indexedList != null) { ^ /root/JavaX-Caches/tmp_510121275/main.java:52: error: class, interface, or enum expected ifdef findCodeTokens_debug ^ /root/JavaX-Caches/tmp_510121275/main.java:54: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_510121275/main.java:56: error: class, interface, or enum expected if (indices == null || indices2.size() < indices.size()) { ^ /root/JavaX-Caches/tmp_510121275/main.java:59: error: class, interface, or enum expected indicesOfs = j; ^ /root/JavaX-Caches/tmp_510121275/main.java:60: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_510121275/main.java:64: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_510121275/main.java:69: error: class, interface, or enum expected SortedSet<HasIndex> tailSet = min == 1 ? indices : indices.tailSet(HasIndex(min)); ^ /root/JavaX-Caches/tmp_510121275/main.java:70: error: class, interface, or enum expected ifdef findCodeTokens_debug ^ /root/JavaX-Caches/tmp_510121275/main.java:72: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_510121275/main.java:75: error: class, interface, or enum expected if (idx >= end) break; ^ /root/JavaX-Caches/tmp_510121275/main.java:76: error: class, interface, or enum expected ifdef findCodeTokens_debug ^ /root/JavaX-Caches/tmp_510121275/main.java:78: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_510121275/main.java:79: error: class, interface, or enum expected for (int j = 0; j < nTokens; j++) try { ^ /root/JavaX-Caches/tmp_510121275/main.java:79: error: class, interface, or enum expected for (int j = 0; j < nTokens; j++) try { ^ /root/JavaX-Caches/tmp_510121275/main.java:82: error: class, interface, or enum expected } catch (IndexOutOfBoundsException e) { ^ /root/JavaX-Caches/tmp_510121275/main.java:84: error: class, interface, or enum expected throw e; ^ /root/JavaX-Caches/tmp_510121275/main.java:85: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_510121275/main.java:89: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_510121275/main.java:91: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_510121275/main.java:93: error: class, interface, or enum expected outer: for (; i < end; i += 2) { ^ /root/JavaX-Caches/tmp_510121275/main.java:93: error: class, interface, or enum expected outer: for (; i < end; i += 2) { ^ /root/JavaX-Caches/tmp_510121275/main.java:94: error: class, interface, or enum expected for (int j = 0; j < nTokens; j++) ^ /root/JavaX-Caches/tmp_510121275/main.java:94: error: class, interface, or enum expected for (int j = 0; j < nTokens; j++) ^ /root/JavaX-Caches/tmp_510121275/main.java:98: error: class, interface, or enum expected if (condition == null || checkTokCondition(condition, tok, i-1)) // pass N index ^ /root/JavaX-Caches/tmp_510121275/main.java:100: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_510121275/main.java:102: error: class, interface, or enum expected } ^ 49 errors