| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.bcel.generic.Instructionorg.apache.bcel.generic.RETStack: ..., -> ..., address
Field Summary |
Fields inherited from class org.apache.bcel.generic.Instruction | |
length, opcode | |
Constructor Summary | |
| |
Method Summary | |
void | |
void |
|
int |
|
Type | |
protected void |
|
void |
|
String |
|
Methods inherited from class org.apache.bcel.generic.Instruction | |
accept, consumeStack, copy, dump, equals, getComparator, getLength, getName, getOpcode, initFromFile, produceStack, readInstruction, setComparator, toString, toString, toString | |
public void accept(Visitor v)
Call corresponding visitor method(s). The order is: Call visitor methods of implemented interfaces first, then call methods according to the class hierarchy in descending order, i.e., the most specific visitXXX() call comes last.
- Overrides:
- accept in interface Instruction
- Parameters:
v- Visitor object
public void dump(DataOutputStream out)
throws IOExceptionDump instruction as byte code to stream out.
- Overrides:
- dump in interface Instruction
- Parameters:
out- Output stream
public final int getIndex()
- Specified by:
- getIndex in interface IndexedInstruction
- Returns:
- index of local variable containg the return address
public Type getType(ConstantPoolGen cp)
- Specified by:
- getType in interface TypedInstruction
- Returns:
- return address type
protected void initFromFile(ByteSequence bytes, boolean wide) throws IOException
Read needed data (e.g. index) from file.
- Overrides:
- initFromFile in interface Instruction
public final void setIndex(int n)
Set index of local variable containg the return address
- Specified by:
- setIndex in interface IndexedInstruction
public String toString(boolean verbose)
- Overrides:
- toString in interface Instruction
- Returns:
- mnemonic for instruction