|
TechTrader Bytecode Toolkit | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.techtrader.modules.tools.bytecode.Instruction | +--com.techtrader.modules.tools.bytecode.LocalVariableInstruction | +--com.techtrader.modules.tools.bytecode.IIncInstruction | +--com.techtrader.modules.tools.bytecode.WideInstruction
Representation of the WIDE instruction, which is used to allow other instructions to index values beyond what they can normally index baed on the length of their arguments.
Fields inherited from class com.techtrader.modules.tools.bytecode.LocalVariableInstruction |
_index |
Fields inherited from class com.techtrader.modules.tools.bytecode.Instruction |
_byteIndex,
_opcode,
_opcodeTypes,
_owner |
Constructor Summary | |
protected |
WideInstruction(Code owner)
|
Method Summary | |
void |
acceptVisit(BCVisitor visit)
Accept a visit from a BCVisitor, calling the appropriate methods to notify the visitor that it has entered this entity, and to provide it with the proper callbacks for each sub-entity owned by this object. |
WideInstruction |
aload()
Set the type of instruction this wide instruction modifies. |
WideInstruction |
astore()
Set the type of instruction this wide instruction modifies. |
protected void |
copy(Instruction orig)
|
WideInstruction |
dload()
Set the type of instruction this wide instruction modifies. |
WideInstruction |
dstore()
Set the type of instruction this wide instruction modifies. |
WideInstruction |
fload()
Set the type of instruction this wide instruction modifies. |
WideInstruction |
fstore()
Set the type of instruction this wide instruction modifies. |
int |
getInstruction()
Get the code of the instruction to modify; this will return one of the constants defined in Constants . |
int |
getLength()
Return the length in bytes of this opcode, including all arguments. |
int |
getStackChange()
Return the number of stack positions this instruction pushes or pops during its execution. |
WideInstruction |
iinc()
Set the type of instruction this wide instruction modifies. |
WideInstruction |
iload()
Set the type of instruction this wide instruction modifies. |
WideInstruction |
istore()
Set the type of instruction this wide instruction modifies. |
WideInstruction |
lload()
Set the type of instruction this wide instruction modifies. |
WideInstruction |
lstore()
Set the type of instruction this wide instruction modifies. |
protected void |
readData(DataInput in)
Read the arguments for this opcode from the given stream. |
WideInstruction |
ret()
Set the type of instruction this wide instruction modifies. |
WideInstruction |
setInstruction(int code)
Set the code of the instruction to modify. |
protected void |
writeData(DataOutput out)
Write the arguments for this opcode to the given stream. |
Methods inherited from class com.techtrader.modules.tools.bytecode.IIncInstruction |
equals,
getIncrement,
setIncrement |
Methods inherited from class com.techtrader.modules.tools.bytecode.LocalVariableInstruction |
calculateOpCode,
getIndex,
setIndex |
Methods inherited from class com.techtrader.modules.tools.bytecode.Instruction |
getByteIndex,
getName,
getOpCode,
getOwner,
invalidate,
setByteIndex,
setOpCode |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
protected WideInstruction(Code owner)
Method Detail |
public WideInstruction iinc()
public WideInstruction ret()
public WideInstruction iload()
public WideInstruction fload()
public WideInstruction aload()
public WideInstruction lload()
public WideInstruction dload()
public WideInstruction istore()
public WideInstruction fstore()
public WideInstruction astore()
public WideInstruction lstore()
public WideInstruction dstore()
public WideInstruction setInstruction(int code)
public int getInstruction()
Constants
.protected void copy(Instruction orig)
public int getLength()
public int getStackChange()
protected void readData(DataInput in) throws IOException
protected void writeData(DataOutput out) throws IOException
public void acceptVisit(BCVisitor visit)
|
TechTrader Bytecode Toolkit | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |