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

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

/root/JavaX-Caches/tmp_201329710/main.java:1: error: class, interface, or enum expected sclass GazelleContextCache_v2 extends F0<GazelleEvalContext> { ^ /root/JavaX-Caches/tmp_201329710/main.java:3: error: class, interface, or enum expected transient GazelleEvalContext cachedCtx; ^ /root/JavaX-Caches/tmp_201329710/main.java:4: error: class, interface, or enum expected DynModule module; ^ /root/JavaX-Caches/tmp_201329710/main.java:5: error: class, interface, or enum expected bool debug = true; ^ /root/JavaX-Caches/tmp_201329710/main.java:6: error: class, interface, or enum expected F0<L<T3<S>>> grabRules = func -> L<T3<S>> { ^ /root/JavaX-Caches/tmp_201329710/main.java:10: error: class, interface, or enum expected S mechListPrefix; ^ /root/JavaX-Caches/tmp_201329710/main.java:11: error: class, interface, or enum expected bool alwaysFullRefresh; // safer ^ /root/JavaX-Caches/tmp_201329710/main.java:14: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_201329710/main.java:19: error: class, interface, or enum expected this; ^ /root/JavaX-Caches/tmp_201329710/main.java:20: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_201329710/main.java:24: error: class, interface, or enum expected cachedCtx = dm_gazelle_stdEvalContext(rules); ^ /root/JavaX-Caches/tmp_201329710/main.java:25: error: class, interface, or enum expected cachedCtx.mechListPrefix = unnull(mechListPrefix); ^ /root/JavaX-Caches/tmp_201329710/main.java:26: error: class, interface, or enum expected gazelle_addHelpers(cachedCtx); ^ /root/JavaX-Caches/tmp_201329710/main.java:27: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_201329710/main.java:31: error: class, interface, or enum expected ret gazelle_cloneCtx(cachedCtx); ^ /root/JavaX-Caches/tmp_201329710/main.java:32: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_201329710/main.java:36: error: class, interface, or enum expected dm_q(module, r { ^ /root/JavaX-Caches/tmp_201329710/main.java:38: error: class, interface, or enum expected if (alwaysFullRefresh) ret with fill(); ^ /root/JavaX-Caches/tmp_201329710/main.java:39: error: class, interface, or enum expected if (cachedCtx == null) ret; ^ /root/JavaX-Caches/tmp_201329710/main.java:40: error: class, interface, or enum expected print("GazelleContextCache_v2: processing rule update " + ruleID); ^ /root/JavaX-Caches/tmp_201329710/main.java:41: error: class, interface, or enum expected RuleEngine2 engine = cachedCtx.engine; ^ /root/JavaX-Caches/tmp_201329710/main.java:42: error: class, interface, or enum expected RuleEngine2.Rule rule = engine.getRule(ruleID); ^ /root/JavaX-Caches/tmp_201329710/main.java:43: error: class, interface, or enum expected if (rule == null) print("GazelleContextCache_v2: rule not found, assuming it's new"); ^ /root/JavaX-Caches/tmp_201329710/main.java:44: error: class, interface, or enum expected else engine.rules.remove(rule); ^ /root/JavaX-Caches/tmp_201329710/main.java:45: error: class, interface, or enum expected PairS p = dm_textAndCommentForRule(ruleID); ^ /root/JavaX-Caches/tmp_201329710/main.java:46: error: class, interface, or enum expected if (p == null) ret with print("GazelleContextCache_v2: no text found for rule"); ^ /root/JavaX-Caches/tmp_201329710/main.java:47: error: class, interface, or enum expected engine.addRules2(ll(t3(p.a, p.b, ruleID))); ^ /root/JavaX-Caches/tmp_201329710/main.java:48: error: class, interface, or enum expected rule = cachedCtx.engine.getRule(ruleID); ^ /root/JavaX-Caches/tmp_201329710/main.java:49: error: class, interface, or enum expected if (rule == null) ret with print("GazelleContextCache_v2: rule not properly added"); ^ /root/JavaX-Caches/tmp_201329710/main.java:50: error: class, interface, or enum expected gazelle_addHelpers(nu(GazelleEvalContext, engine := gazelle_dummyEngineWithRule(rule))); ^ /root/JavaX-Caches/tmp_201329710/main.java:51: error: class, interface, or enum expected gazelle_updateStatsForRule(cachedCtx, ruleID); ^ /root/JavaX-Caches/tmp_201329710/main.java:52: error: class, interface, or enum expected print("GazelleContextCache_v2: rule update complete"); ^ /root/JavaX-Caches/tmp_201329710/main.java:53: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_201329710/main.java:54: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_201329710/main.java:59: error: unclosed character literal vmBus_onMessage('gazellePleaseClearRuleCaches, r { ^ /root/JavaX-Caches/tmp_201329710/main.java:62: error: unclosed character literal vmBus_onMessage('gazelleRuleFeedbackChanged, vf<S> ruleChanged), ^ /root/JavaX-Caches/tmp_201329710/main.java:63: error: unclosed character literal vmBus_onMessage('gazelleRuleChanged, voidfunc(O ruleObj) { ^ /root/JavaX-Caches/tmp_201329710/main.java:66: error: unclosed character literal vmBus_onMessage('gazelleRuleDeleted, voidfunc(O rule) { ^ /root/JavaX-Caches/tmp_201329710/main.java:68: error: class, interface, or enum expected dm_q(module, r { ^ /root/JavaX-Caches/tmp_201329710/main.java:70: error: class, interface, or enum expected if (cachedCtx == null) ret; ^ /root/JavaX-Caches/tmp_201329710/main.java:71: error: class, interface, or enum expected cachedCtx.engine.deleteRule(ruleID); ^ /root/JavaX-Caches/tmp_201329710/main.java:72: error: class, interface, or enum expected print("GazelleContextCache_v2: rule " + ruleID + " deleted"); ^ /root/JavaX-Caches/tmp_201329710/main.java:73: error: class, interface, or enum expected }) ^ /root/JavaX-Caches/tmp_201329710/main.java:75: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_201329710/main.java:79: error: class, interface, or enum expected fill(); ^ /root/JavaX-Caches/tmp_201329710/main.java:80: error: class, interface, or enum expected } ^ 46 errors