org.apache.bcel.generic
public class RET extends Instruction implements IndexedInstruction, TypedInstruction
Stack: ... -> ...
Version: $Id: RET.java 386056 2006-03-15 11:31:56Z tcurdt $
Field Summary | |
---|---|
int | index |
boolean | wide |
Constructor Summary | |
---|---|
RET()
Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction(). | |
RET(int index) |
Method Summary | |
---|---|
void | accept(Visitor v)
Call corresponding visitor method(s). |
void | dump(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 |
void | setWide() |
String | toString(boolean verbose) |
Parameters: v Visitor object
Parameters: out Output stream
Returns: index of local variable containg the return address
Returns: return address type
Returns: mnemonic for instruction