ModifiableRootModel (@NotNull Module module) { ModifiableRootModel model = myModifiableRootModels.get(module); if (model == null) { model = ModuleRootManager.getInstance(module).getModifiableModel(); myModifiableRootModels.put(module, model); } return model; }