@Override
      public void changed(@NotNull VersionedStorageChange event) {
        MultiMap<String, Module> map;
        synchronized (LOCK) {
          map = myMap;
        }
        if (map != null) {
          for (EntityChange<JavaSourceRootPropertiesEntity> change : event.getChanges(JavaSourceRootPropertiesEntity.class)) {
            JavaSourceRootPropertiesEntity oldEntity = change.getOldEntity();
            if (oldEntity != null) {
              updateMap(oldEntity, event.getStorageBefore(), (prefix, module) -> map.remove(prefix, module));
            }
            JavaSourceRootPropertiesEntity newEntity = change.getNewEntity();
            if (newEntity != null) {
              updateMap(newEntity, event.getStorageAfter(), (prefix, module) -> map.putValue(prefix, module));
            }
          }
        }
      }
@Override
      public void changed(@NotNull VersionedStorageChange event)