void () { final ModuleStructureConfigurable rootConfigurable = myProjectStructureConfigurable.getModulesConfig(); Module[] modules = rootConfigurable.getModules(); for (Module module : modules) { final StructureConfigurableContext context = rootConfigurable.getContext(); context.getDaemonAnalyzer().queueUpdate(new ModuleProjectStructureElement(context, module)); } }