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

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

/root/JavaX-Caches/tmp_1594144031/main.java:1: error: class, interface, or enum expected sclass RuleEngine2_MatchedRule { ^ /root/JavaX-Caches/tmp_1594144031/main.java:3: error: class, interface, or enum expected Map<TokenAndRange, S> map; ^ /root/JavaX-Caches/tmp_1594144031/main.java:4: error: class, interface, or enum expected new Map<S, Int> mappingQuality; // key in map to -1, 0 or 1 ^ /root/JavaX-Caches/tmp_1594144031/main.java:5: error: class, interface, or enum expected new LPair<LS> matchedLines; ^ /root/JavaX-Caches/tmp_1594144031/main.java:6: error: class, interface, or enum expected O tokenizationFunction; ^ /root/JavaX-Caches/tmp_1594144031/main.java:8: error: class, interface, or enum expected int qualitySum() { ^ /root/JavaX-Caches/tmp_1594144031/main.java:10: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1594144031/main.java:14: error: class, interface, or enum expected r.in = map(rule.in, f<S, S> applyMappingTo); ^ /root/JavaX-Caches/tmp_1594144031/main.java:15: error: class, interface, or enum expected r.out = applyMappingTo(rule.out); ^ /root/JavaX-Caches/tmp_1594144031/main.java:16: error: class, interface, or enum expected ret r; ^ /root/JavaX-Caches/tmp_1594144031/main.java:17: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1594144031/main.java:21: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1594144031/main.java:25: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1594144031/main.java:30: error: class, interface, or enum expected LS tokI = (LS) callF(tokenize, q); ^ /root/JavaX-Caches/tmp_1594144031/main.java:31: error: class, interface, or enum expected new L<RuleEngine2_MatchedRule> l; ^ /root/JavaX-Caches/tmp_1594144031/main.java:32: error: class, interface, or enum expected for (RuleEngine2.Rule rule : engine.rules) { ^ /root/JavaX-Caches/tmp_1594144031/main.java:34: error: class, interface, or enum expected LS tokC = (LS) callF(tokenize, cond); ^ /root/JavaX-Caches/tmp_1594144031/main.java:35: error: class, interface, or enum expected Map<TokenAndRange, S> map = ai_matchTwoTokenizations(tokC, tokI); ^ /root/JavaX-Caches/tmp_1594144031/main.java:36: error: class, interface, or enum expected if (map == null) continue; ^ /root/JavaX-Caches/tmp_1594144031/main.java:37: error: class, interface, or enum expected new RuleEngine2_MatchedRule matched; ^ /root/JavaX-Caches/tmp_1594144031/main.java:38: error: class, interface, or enum expected matched.rule = rule; ^ /root/JavaX-Caches/tmp_1594144031/main.java:39: error: class, interface, or enum expected matched.map = map; ^ /root/JavaX-Caches/tmp_1594144031/main.java:40: error: class, interface, or enum expected matched.matchedLines.add(pair(tokC, tokI)); ^ /root/JavaX-Caches/tmp_1594144031/main.java:41: error: class, interface, or enum expected matched.tokenizationFunction = tokenize; ^ /root/JavaX-Caches/tmp_1594144031/main.java:42: error: class, interface, or enum expected Map<PairS, Int> qualities = ai_ruleEngine2_mappingQualities(rule); ^ /root/JavaX-Caches/tmp_1594144031/main.java:43: error: class, interface, or enum expected for (S a, b : map) { ^ /root/JavaX-Caches/tmp_1594144031/main.java:45: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1594144031/main.java:47: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1594144031/main.java:49: error: class, interface, or enum expected } ^ 29 errors