this.id = id;
this.repository = repository;
}
public MutableModuleComponentResolveMetaData create() {
DefaultBuildableModuleComponentMetaDataResolveResult result = new DefaultBuildableModuleComponentMetaDataResolveResult();
repository.resolveComponentMetaData(dependency.withRequestedVersion(id.getVersion()), id, result);
return result.getMetaData();
}