this.localComponentFactory = localComponentFactory;
}
public void resolve(DependencyMetaData dependency, BuildableComponentIdResolveResult result) {
if (dependency instanceof ProjectDependencyMetaData) {
ProjectDependencyMetaData projectDependency = (ProjectDependencyMetaData) dependency;
LocalComponentMetaData componentMetaData = projectComponentRegistry.getProject(projectDependency.getSelector().getProjectPath());
result.resolved(componentMetaData.toResolveMetaData());
} else {
delegate.resolve(dependency, result);
}
}