static S autoCalculateList(S name) { S calc = mechList_raw(name + " | Calculation"); new Matches m; if (swic(calc, "=", m)) { O result = javaEval(m.rest()); S text; if (result instanceof Collection) text = lines(allToString((Collection) result)); else text = strOrEmpty(result); ret botEditMechList(name, text); } }