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 oldIh,
InstructionHandle newIh)
Replaces the target of this targeter from this old handle to the new handle.
|
boolean containsTarget(InstructionHandle ih)
void updateTarget(InstructionHandle oldIh, InstructionHandle newIh) throws ClassGenException
oldIh
- the old handlenewIh
- the new handleClassGenException
- if oldIh is not targeted by this objectCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.