alt.jiapi.reflect
Class BranchInstruction
java.lang.Object
alt.jiapi.reflect.Instruction
alt.jiapi.reflect.BranchInstruction
- All Implemented Interfaces:
- java.lang.Cloneable
public class BranchInstruction
- extends Instruction
BranchInstruction is represents an Instruction, that has
a jump target to another Instruction.
- Author:
- Mika Riekkinen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BranchInstruction
public BranchInstruction(byte[] bytes)
getBytes
public byte[] getBytes()
- Description copied from class:
Instruction
- Gets the bytes of this instruction.
First byte in array is its opcode.
- Overrides:
getBytes
in class Instruction
- Returns:
- bytes of this instruction.
getTarget
public Instruction getTarget()
- Get the target of this branch.
- Returns:
- target Instruction, that this branch points to
getTargetOffset
public int getTargetOffset()
setTarget
public void setTarget(Instruction target)
toString
public java.lang.String toString()
- Overrides:
toString
in class Instruction
Copyright © 2001. Documenation generated August 26 2011.