static Cl stefansOS_snippetIDToModuleLibIDs(S _snippetID, Class c default hotwireModule(_snippetID)) { snippetID = fsI(_snippetID); L names = (L) callOpt(c, 'myInnerClasses); if (names == null) names = nonNulls(map getClassDeclarationName(innerClassesOfMain(getServerTranspiledWithoutLibs(snippetID)))); print(+names); // only show the usable ones try { print(mcName := mainClassNameForClassLoader(c.getClassLoader())); names = shortClassNames(nonAbstractClassesInRealmWithSuperclassShortNamed(c, "DynModule", names)); print(+names); } catch print e { names = null; } ret map(names, name -> joinWithSlash(snippetID, name)); }