public ModuleVersionSelector getRequested() {
   ModuleComponentSelector moduleComponentSelector = dependency.getRequested();
   return DefaultModuleVersionSelector.newSelector(
       moduleComponentSelector.getGroup(),
       moduleComponentSelector.getName(),
       moduleComponentSelector.getVersion());
 }
 public UnresolvedDependencyEdge(UnresolvedDependencyResult dependency) {
   this.dependency = dependency;
   ModuleComponentSelector moduleComponentSelector = dependency.getAttempted();
   ModuleVersionSelector attempted =
       DefaultModuleVersionSelector.newSelector(
           moduleComponentSelector.getGroup(),
           moduleComponentSelector.getName(),
           moduleComponentSelector.getVersion());
   actual =
       DefaultModuleVersionIdentifier.newId(
           attempted.getGroup(), attempted.getName(), attempted.getVersion());
 }