| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectsysModel.classFile.code.instructions.AInstruction
sysModel.classFile.code.instructions.GenericInstruction
sysModel.classFile.code.instructions.WideInstruction
public class WideInstruction
Wide Java instruction.
| Field Summary | 
|---|
| Fields inherited from class sysModel.classFile.code.instructions.GenericInstruction | 
|---|
| _code | 
| Constructor Summary | |
|---|---|
| WideInstruction(byte[] code)Constructor. | |
| WideInstruction(byte[] bytecode,
                               short pc,
                               short paddingPC,
                               LineNumberTable lnt)Make a new generic instruction from the bytecode stating at pc, padded using paddingPC, and use the line number table for branches. | |
| Method Summary | |
|---|---|
|  short | getBytecodeLength(short pc)Get the length bytecode for this instruction, padded for the specified program counter value. | 
|  byte | getOpcode()Get the opcode of this instruction. | 
|  int | hashCode()Return hash code. | 
|  void | setBranchTargets(short[] branchTargets)Set the branch target indices. | 
|  java.lang.String | toString()Return instruction in human-readable form. | 
| Methods inherited from class sysModel.classFile.code.instructions.GenericInstruction | 
|---|
| equals, getBranchTargets, getBytecode, getBytecode | 
| Methods inherited from class sysModel.classFile.code.instructions.AInstruction | 
|---|
| getCorrespondingLoad, getCorrespondingStore, makeInstruction | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public WideInstruction(byte[] code)
code - bytecode for generic instruction, excluding the WIDE opcode
public WideInstruction(byte[] bytecode,
                       short pc,
                       short paddingPC,
                       LineNumberTable lnt)
bytecode - bytecodepc - starting index in bytecodepaddingPC - PC for paddinglnt - line number table for branches| Method Detail | 
|---|
public byte getOpcode()
getOpcode in class GenericInstructionpublic short getBytecodeLength(short pc)
getBytecodeLength in class GenericInstructionpc - PC for padding
public int hashCode()
hashCode in class GenericInstructionpublic void setBranchTargets(short[] branchTargets)
setBranchTargets in class GenericInstructionbranchTargets - array of target indicespublic java.lang.String toString()
toString in class GenericInstruction| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||