// insert an external input node which connects to the results
ExternalInputNode externalInput =
new ExternalInputNode(transferName, mRootGateway);
target.replaceInput(name, index, externalInput.getOutput());
externalInput.addAnnotation(AnnotationKeys.GATEWAY, targetGateway);
graph.add(externalInput);
}
private void replaceTarget(
Connection connection,