@Override
      public void changed(@NotNull VersionedStorageChange event) {
        for (EntityChange<ModuleEntity> change : event.getChanges(ModuleEntity.class)) {
          ModuleEntity newEntity = change.getNewEntity();
          if (newEntity != null) {
            addToDirtyModules(ModuleEntityUtils.findModule(newEntity, event.getStorageAfter()));
          }
          ModuleEntity oldEntity = change.getOldEntity();
          if (oldEntity != null) {
            addToDirtyModules(ModuleEntityUtils.findModule(oldEntity, event.getStorageBefore()));
          }
        }
        for (EntityChange<ContentRootEntity> change : event.getChanges(ContentRootEntity.class)) {
          ContentRootEntity newEntity = change.getNewEntity();
          if (newEntity != null) {
            addToDirtyModules(ModuleEntityUtils.findModule(newEntity.getModule(), event.getStorageAfter()));
          }
          ContentRootEntity oldEntity = change.getOldEntity();
          if (oldEntity != null) {
            addToDirtyModules(ModuleEntityUtils.findModule(oldEntity.getModule(), event.getStorageBefore()));
          }
        }
        clearDisposedModules();
      }
@Override
      public void changed(@NotNull VersionedStorageChange event)