@Override
  public @NotNull List<Path> getModuleResourcePaths(@NotNull RuntimeModuleId moduleId) {
    RawRuntimeModuleRepositoryData rawData = getMainData();
    RawRuntimeModuleDescriptor rawDescriptor = rawData.findDescriptor(moduleId.getStringId());
    if (rawDescriptor == null) {
      if (myAdditionalData != null) {
        for (RawRuntimeModuleRepositoryData repository : myAdditionalData) {
          rawDescriptor = repository.findDescriptor(moduleId.getStringId());
          if (rawDescriptor != null) {
            rawData = repository;
            break;
          }
        }
      }
      if (rawDescriptor == null) {
        throw new MalformedRepositoryException("Cannot find module '" + moduleId.getStringId() + "'");
      }
    }
    //todo improve this to reuse the computed paths if the module is resolved later
    return new RuntimeModuleDescriptorImpl(moduleId, rawData.getBasePath(), rawDescriptor.getResourcePaths(), Collections.emptyList()).getResourceRootPaths();
  }
@Override
  public @NotNull List<Path> getModuleResourcePaths(@NotNull RuntimeModuleId moduleId)