Class InstructionBranch

java.lang.Object
org.aspectj.apache.bcel.generic.Instruction
org.aspectj.apache.bcel.generic.InstructionBranch
All Implemented Interfaces:
Serializable, Cloneable, Constants, InstructionTargeter
Direct Known Subclasses:
InstructionSelect

public class InstructionBranch extends Instruction implements InstructionTargeter
Abstract super class for branching instructions like GOTO, IFEQ, etc.. Branch instructions may have a variable length, namely GOTO, JSR, LOOKUPSWITCH and TABLESWITCH. A branch instruction may be talking in terms of absolute destination (targetIndex) or about an instruction it doesnt yet know the position if (targetInstruction). targetInstruction (if set) overrides targetIndex
Version:
$Id: InstructionBranch.java,v 1.6 2009/10/05 17:35:36 aclement Exp $
Author:
M. Dahm
See Also: