ModifiableFacetModel (final Module module) { ModifiableFacetModel model = myModifiableModels.get(module); if (model == null) { model = FacetManager.getInstance(module).createModifiableModel(); myModifiableModels.put(module, model); } return model; }