ModuleEditor (@NotNull Module module) { String moduleName = module.getName(); LOG.assertTrue(getModule(moduleName) != null, "Module " + moduleName + " has been deleted"); ModuleEditor editor = getModuleEditor(module); if (editor == null) { editor = doCreateModuleEditor(module); } return editor; }