static new ThreadLocal mechList_clearCache_inFunction; static void mechList_clearCache(S listName) { { temp tempSetTL(mechList_clearCache_inFunction, true); vmBus_send('mechList_clearCache, listName); } for (S field : mcFields()) if (startsWithEndsWith(field, "mech", "_cache")) { O o = getOptMC(field); if (o instanceof Map) removeFromMapCI_sync((Map) o, listName); } if (mechList_goToCreator()) callCreatorOpt('mechList_clearCache, listName); }