org.apache.bcel.generic

Interface InstructionTargeter

Known Implementing Classes:
BranchInstruction, CodeExceptionGen, GotoInstruction, GOTO, GOTO_W, IfInstruction, IFEQ, IFGE, IFGT, IFLE, IFLT, IFNE, IFNONNULL, IFNULL, IF_ACMPEQ, IF_ACMPNE, IF_ICMPEQ, IF_ICMPGE, IF_ICMPGT, IF_ICMPLE, IF_ICMPLT, IF_ICMPNE, JsrInstruction, JSR, JSR_W, LineNumberGen, LocalVariableGen, LOOKUPSWITCH, Select, TABLESWITCH

public interface InstructionTargeter

Denote that a class targets InstructionHandles within an InstructionList. Namely the following implementers:
Version:
$Id: InstructionTargeter.java,v 1.1.1.1 2001/10/29 20:00:20 jvanzyl Exp $
Author:
M. Dahm
See Also:
BranchHandle, LocalVariableGen, CodeExceptionGen

Method Summary

boolean
containsTarget(InstructionHandle ih)
void
updateTarget(InstructionHandle old_ih, InstructionHandle new_ih)

Method Details

containsTarget

public boolean containsTarget(InstructionHandle ih)

updateTarget

public void updateTarget(InstructionHandle old_ih,
                         InstructionHandle new_ih)