...
try {
il.delete(start_ih, end_ih);
} catch(TargetLostException e) {
InstructionHandle[] targets = e.getTargets();
for(int i=0; i < targets.length; i++) {
InstructionTargeter[] targeters = targets[i].getTargeters();
for(int j=0; j < targeters.length; j++)
targeters[j].updateTarget(targets[i], new_target);
}
}
InstructionHandle, InstructionList, InstructionTargeter
| Modifier and Type | Field and Description |
|---|---|
| private InstructionHandle[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public InstructionHandle[] |
| targets | back to summary |
|---|---|
| private InstructionHandle[] targets | |
| TargetLostException | back to summary |
|---|---|
| pack-priv TargetLostException(InstructionHandle[] t, String mesg) | |
| getTargets | back to summary |
|---|---|
public InstructionHandle[] getTargets()
| |