com.jeffpalm.basic.bytecode.instr
Class BranchInstruction
java.lang.Object
com.jeffpalm.basic.bytecode.instr.Instruction
com.jeffpalm.basic.bytecode.instr.BranchInstruction
- Direct Known Subclasses:
- Goto, If_acmpeq, If_acmpne, If_icmpeq, If_icmpge, If_icmpgt, If_icmple, If_icmplt, If_icmpne, Ifeq, Ifge, Ifgt, Ifle, Iflt, Ifne, Ifnonnull, Ifnull
public abstract class BranchInstruction
- extends Instruction
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BranchInstruction
public BranchInstruction(byte opcode,
Instruction target)
getBytes
public byte[] getBytes()
- Specified by:
getBytes
in class Instruction
length
public int length()
- Overrides:
length
in class Instruction
setTarget
public final Instruction setTarget(Instruction target)
getTarget
public final Instruction getTarget()
branchbyte1
public final byte branchbyte1()
branchbyte2
public final byte branchbyte2()
branchOffset
public final int branchOffset()
branchTarget
public final int branchTarget()
toString
public final java.lang.String toString()
- Overrides:
toString
in class java.lang.Object