|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.apache.bcel.generic.Instruction
|
+--org.apache.bcel.generic.RET
RET - Return from subroutine
Stack: ..., -> ..., address
| Field Summary |
| Fields inherited from class org.apache.bcel.generic.Instruction |
length, opcode |
| Constructor Summary | |
RET(int index)
|
|
| Method Summary | |
void |
accept(Visitor v)
Call corresponding visitor method(s). |
void |
dump(java.io.DataOutputStream out)
Dump instruction as byte code to stream out. |
int |
getIndex()
|
Type |
getType(ConstantPoolGen cp)
|
protected void |
initFromFile(ByteSequence bytes,
boolean wide)
Read needed data (e.g. index) from file. |
void |
setIndex(int n)
Set index of local variable containg the return address |
java.lang.String |
toString(boolean verbose)
Long output format: <name of opcode> "["<opcode number>"]" "("<length of instruction>")" |
| Methods inherited from class org.apache.bcel.generic.Instruction |
consumeStack, copy, equals, getComparator, getLength, getName, getOpcode, produceStack, readInstruction, setComparator, toString, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public RET(int index)
| Method Detail |
public void dump(java.io.DataOutputStream out)
throws java.io.IOException
dump in class Instructionout - Output stream
java.io.IOException
protected void initFromFile(ByteSequence bytes,
boolean wide)
throws java.io.IOException
initFromFile in class Instructionbytes - byte sequence to read fromwide - "wide" instruction flag
java.io.IOExceptionpublic final int getIndex()
getIndex in interface IndexedInstructionpublic final void setIndex(int n)
setIndex in interface IndexedInstructionpublic java.lang.String toString(boolean verbose)
Instruction
toString in class Instructionverbose - long/short format switch
public Type getType(ConstantPoolGen cp)
getType in interface TypedInstructionpublic void accept(Visitor v)
accept in class Instructionv - Visitor object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||