|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.apache.bcel.verifier.statics.LocalVariableInfo
A utility class holding the information about the name and the type of a local variable in a given slot (== index). This information often changes in course of byte code offsets.
| Constructor Summary | |
LocalVariableInfo()
|
|
| Method Summary | |
void |
add(java.lang.String name,
int startpc,
int length,
Type t)
Adds some information about this local variable (slot). |
java.lang.String |
getName(int offset)
Returns the name of the local variable that uses this local variable slot at the given bytecode offset. |
Type |
getType(int offset)
Returns the type of the local variable that uses this local variable slot at the given bytecode offset. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LocalVariableInfo()
| Method Detail |
public Type getType(int offset)
public java.lang.String getName(int offset)
public void add(java.lang.String name,
int startpc,
int length,
Type t)
throws LocalVariableInfoInconsistentException
LocalVariableInfoInconsistentException - if the new information conflicts
with already gathered information.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||