|
Jode 1.90-CVS Build Aug 6, 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jode.bytecode.LocalVariableInfo
A simple class containing the info of the LocalVariableTable. This
info is stored decentral: every load, store or iinc instruction contains
the info for its local. When writing code it will automatically be
collected again.
You can't modify a LocalVariableInfo, for this reason they can and
will be shared.
This information consists of name, type signature and slot number.
There is no public constructor; use the static getInfo() methods
instead.
Method Summary | |
static LocalVariableInfo |
getInfo(int slot)
Creates a new local variable info, with no name or type. |
static LocalVariableInfo |
getInfo(int slot,
java.lang.String name,
java.lang.String type)
Creates a new local variable info, with given name and type. |
java.lang.String |
getName()
Gets the name. |
int |
getSlot()
Gets the slot number. |
java.lang.String |
getType()
Gets the type signature. |
java.lang.String |
toString()
Gets a string representation for debugging purposes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public static LocalVariableInfo getInfo(int slot)
slot
- the slot number.public static LocalVariableInfo getInfo(int slot, java.lang.String name, java.lang.String type)
slot
- the slot number.name
- the name of the local.type
- the type signature of the local.public int getSlot()
public java.lang.String getName()
public java.lang.String getType()
TypeSignature
public java.lang.String toString()
|
Jode 1.90-CVS Build Aug 6, 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |