@Override
    public void changed(@NotNull VersionedStorageChange event) {
      if (!myModule.isDisposed()) {
        updateCacheForSdk(myModule);
      }
      List<EntityChange<ModuleEntity>> changes = event.getChanges(ModuleEntity.class);
      for (EntityChange<ModuleEntity> change : changes) {
        ModuleEntity entity = null;
        if (change instanceof EntityChange.Replaced) {
          entity = ((EntityChange.Replaced<ModuleEntity>)change).getOldEntity();
        }
        else if (change instanceof EntityChange.Removed) {
          entity = ((EntityChange.Removed<ModuleEntity>)change).getOldEntity();
        }
        if (entity != null) {
          var module = ModuleEntityUtils.findModule(entity, event.getStorageBefore());
          if (module == myModule) {
            clearCache();
            return;
          }
        }
      }
    }
@Override
    public void changed(@NotNull VersionedStorageChange event)