public void changeDestination(Statement newDestination) {
    ValidationHelper.assertTrue(newDestination != null, "Should not be null");

    Statement oldDestination = this.destination;
    oldDestination.removeEdgeInternal(EdgeDirection.BACKWARD, this);
    newDestination.addEdgeInternal(EdgeDirection.BACKWARD, this);
    this.destination = newDestination;
  }
Makes this edge point from a different destination. This will
remove this edge as a predecessor of the old destination,
add it as a predecessor of the new destination,
and update the successor of the current source.
@param newDestination the new destination of this edge
src/org/jetbrains/java/decompiler/modules/decompiler/StatEdge.java