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

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

/root/JavaX-Caches/tmp_345666566/main.java:1: error: class, interface, or enum expected svoid nlLogic_battleItOut(L<RuleWithParams> battleSpace, LS facts) { ^ /root/JavaX-Caches/tmp_345666566/main.java:3: error: class, interface, or enum expected new MultiMap<S> trumps; ^ /root/JavaX-Caches/tmp_345666566/main.java:6: error: class, interface, or enum expected new Clusters<S> conflictClusters; ^ /root/JavaX-Caches/tmp_345666566/main.java:7: error: class, interface, or enum expected new Set<S> _ruleIDs; ^ /root/JavaX-Caches/tmp_345666566/main.java:8: error: class, interface, or enum expected for (RuleWithParams r : battleSpace) { ^ /root/JavaX-Caches/tmp_345666566/main.java:10: error: class, interface, or enum expected for (S option : unnull(r.rule.options)) ^ /root/JavaX-Caches/tmp_345666566/main.java:13: error: class, interface, or enum expected treeSetClusters_add(conflictClusters, r1, r2); ^ /root/JavaX-Caches/tmp_345666566/main.java:14: error: class, interface, or enum expected if (match("trumps *", option)) ^ /root/JavaX-Caches/tmp_345666566/main.java:16: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_345666566/main.java:21: error: class, interface, or enum expected if (trump || match("rule * conflicts with rule *", s, mm)) { ^ /root/JavaX-Caches/tmp_345666566/main.java:23: error: class, interface, or enum expected if (_ruleIDs.contains(r1) && _ruleIDs.contains(r2)) { ^ /root/JavaX-Caches/tmp_345666566/main.java:25: error: class, interface, or enum expected if (trump) ^ /root/JavaX-Caches/tmp_345666566/main.java:27: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_345666566/main.java:35: error: class, interface, or enum expected final new HashSet<S> toRemove; ^ /root/JavaX-Caches/tmp_345666566/main.java:36: error: class, interface, or enum expected for (Collection<S> ruleIDs : uniquifyList_identity(values(conflictClusters))) { ^ /root/JavaX-Caches/tmp_345666566/main.java:38: error: class, interface, or enum expected for (S id : cloneList(ruleIDs)) { ^ /root/JavaX-Caches/tmp_345666566/main.java:40: error: class, interface, or enum expected removeAll(ruleIDs, losers); ^ /root/JavaX-Caches/tmp_345666566/main.java:41: error: class, interface, or enum expected toRemove.addAll(losers); ^ /root/JavaX-Caches/tmp_345666566/main.java:42: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_345666566/main.java:44: error: class, interface, or enum expected L<S> removing = listWithout(ruleIDs, winner); ^ /root/JavaX-Caches/tmp_345666566/main.java:45: error: class, interface, or enum expected print("Winner: " + winner + ", removing: " + removing); ^ /root/JavaX-Caches/tmp_345666566/main.java:46: error: class, interface, or enum expected toRemove.addAll(removing); ^ /root/JavaX-Caches/tmp_345666566/main.java:47: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_345666566/main.java:51: error: class, interface, or enum expected for (ListIterator<RuleWithParams> i = listIterator(battleSpace); i.hasNext(); ) ^ /root/JavaX-Caches/tmp_345666566/main.java:51: error: class, interface, or enum expected for (ListIterator<RuleWithParams> i = listIterator(battleSpace); i.hasNext(); ) ^ /root/JavaX-Caches/tmp_345666566/main.java:54: error: class, interface, or enum expected print("Rules narrowed down to: " + collect(collect(battleSpace, 'rule), 'globalID)); ^ /root/JavaX-Caches/tmp_345666566/main.java:54: error: unclosed character literal print("Rules narrowed down to: " + collect(collect(battleSpace, 'rule), 'globalID)); ^ /root/JavaX-Caches/tmp_345666566/main.java:54: error: unclosed character literal print("Rules narrowed down to: " + collect(collect(battleSpace, 'rule), 'globalID)); ^ /root/JavaX-Caches/tmp_345666566/main.java:55: error: class, interface, or enum expected } ^ 29 errors