jellyj.classfile.classgen
Class LocalVariableInstruction
jellyj.classfile.classgen.Instruction
|
+--jellyj.classfile.classgen.LocalVariableInstruction
- Direct Known Subclasses:
- ALOAD, ASTORE, DLOAD, DSTORE, FLOAD, FSTORE, ILOAD, ISTORE, LLOAD, LSTORE
- public abstract class LocalVariableInstruction
- extends Instruction
Abstract super class for instructions dealing with local variables.
- Author:
- JellyJ Design Group
Constructor Summary |
(package private) | LocalVariableInstruction() Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction(). |
Method Summary |
void | dump(DataOutputStream out) Dump instruction as byte code to stream out. |
final int | getIndex() |
final void | setIndex(int n) Set the local variable index |
String | toString() |
LocalVariableInstruction
LocalVariableInstruction()
- Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction(). Not to be used otherwise.
dump
public void dump(DataOutputStream out)
throws java.io.IOException
- Dump instruction as byte code to stream out.
- Parameters:
- out - Output stream
getIndex
public final int getIndex()
- Returns: local variable index referred by this instruction.
setIndex
public final void setIndex(int n)
- Set the local variable index
toString
public String toString()
- Returns: mnemonic for instruction