static new TreeMap hotwireCached_cache; static Class hotwireCached(S programID) { ret hotwireCached(programID, true); } static synchronized Class hotwireCached(S programID, bool runMain) { programID = formatSnippetID(programID); Class c = hotwireCached_cache.get(programID); if (c == null) { c = hotwire(programID); if (runMain) callMain(c); hotwireCached_cache.put(programID, c); } ret c; }