static Collection nlLogic_certainOperatorArgsFromRuleWithParams(RuleWithParams r, S... operators) { HashSet set = lithashset(operators); new LinkedHashSet out; for (Exp e : nlLogic_unrollAnd(r.rule.out)) { e = nlLogic_applyMatches(e, r.matches); if (e cast Func) if (set.contains(e.name)) out.add(nlLogic_text(e.arg)); nlLogic_checkHelper(e, r.matches); // changes matches e.g. for newID() } ret out; }