for (DAGEdge<Component, Dependency> edge: root.getOutgoingEdges()) { logger.debug("considering {} for replacement", edge.getTail().getLabel()); Desire desire = edge.getLabel().getDesireChain().getInitialDesire(); DesireChain chain = DesireChain.singleton(desire); Pair<DAGNode<Component, Dependency>, Dependency> repl = null; .getSatisfaction(), edge.getLabel() .getDesireChain() .getInitialDesire() .getInjectionPoint());