static L includeInMainLoaded(L tok, S text) { L main = findMainClass(tok); int i = main.lastIndexOf("}"); main.set(i, "\n" + text + "\n}"); i += magicIndexOfSubList(tok, main); ret reTok(tok, i, i+1); }