public interface InstructionTargeter
BranchHandle
,
LocalVariableGen
,
CodeExceptionGen
Modifier and Type | Method and Description |
---|---|
boolean |
containsTarget(InstructionHandle ih)
Checks whether this targeter targets the specified instruction handle.
|
void |
updateTarget(InstructionHandle old_ih,
InstructionHandle new_ih)
Replaces the target of this targeter from this old handle to the new handle.
|
boolean containsTarget(InstructionHandle ih)
void updateTarget(InstructionHandle old_ih, InstructionHandle new_ih) throws ClassGenException
old_ih
- the old handlenew_ih
- the new handleClassGenException
- if old_ih is not targeted by this objectCopyright © 2004–2019 The Apache Software Foundation. All rights reserved.