| java.lang.Object org.ejb3unit.asm.tree.AbstractInsnNode org.ejb3unit.asm.tree.JumpInsnNode
JumpInsnNode | public class JumpInsnNode extends AbstractInsnNode (Code) | | A node that represents a jump instruction. A jump instruction is an
instruction that may jump to another instruction.
author: Eric Bruneton |
Constructor Summary | |
public | JumpInsnNode(int opcode, LabelNode label) Constructs a new
JumpInsnNode .
Parameters: opcode - the opcode of the type instruction to be constructed. |
label | public LabelNode label(Code) | | The operand of this instruction. This operand is a label that designates
the instruction to which this instruction may jump.
|
JumpInsnNode | public JumpInsnNode(int opcode, LabelNode label)(Code) | | Constructs a new
JumpInsnNode .
Parameters: opcode - the opcode of the type instruction to be constructed. Thisopcode must be IFEQ, IFNE, IFLT, IFGE, IFGT, IFLE, IF_ICMPEQ,IF_ICMPNE, IF_ICMPLT, IF_ICMPGE, IF_ICMPGT, IF_ICMPLE, IF_ACMPEQ,IF_ACMPNE, GOTO, JSR, IFNULL or IFNONNULL. Parameters: label - the operand of the instruction to be constructed. Thisoperand is a label that designates the instruction to which thejump instruction may jump. |
getType | public int getType()(Code) | | |
setOpcode | public void setOpcode(int opcode)(Code) | | Sets the opcode of this instruction.
Parameters: opcode - the new instruction opcode. This opcode must be IFEQ, IFNE,IFLT, IFGE, IFGT, IFLE, IF_ICMPEQ, IF_ICMPNE, IF_ICMPLT,IF_ICMPGE, IF_ICMPGT, IF_ICMPLE, IF_ACMPEQ, IF_ACMPNE, GOTO, JSR,IFNULL or IFNONNULL. |
|
|