.get(i);
t.getFromState().removeOutputTransition(t);
((ITransitionableTo) a).removeInputTransition(t);
}
else if (targetConnections.get(i) instanceof IfTransition) {
IfTransition t = (IfTransition) targetConnections.get(i);
if (t.isThen()) {
t.getFromIf().removeThenTransition();
}
else {
t.getFromIf().removeElseTransition();
}
((ITransitionableTo) a).removeInputTransition(t);
}
}
}