|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.bcel.verifier.statics.LocalVariablesInfo
public class LocalVariablesInfo
A utility class holding the information about the names and the types of the local variables in a given method.
Field Summary | |
---|---|
private LocalVariableInfo[] |
localVariableInfos
The information about the local variables is stored here. |
Constructor Summary | |
---|---|
LocalVariablesInfo(int max_locals)
The constructor. |
Method Summary | |
---|---|
void |
add(int slot,
java.lang.String name,
int startpc,
int length,
Type t)
Adds information about the local variable in slot 'slot'. |
LocalVariableInfo |
getLocalVariableInfo(int slot)
Returns the LocalVariableInfo for the given slot. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private LocalVariableInfo[] localVariableInfos
Constructor Detail |
---|
LocalVariablesInfo(int max_locals)
Method Detail |
---|
public LocalVariableInfo getLocalVariableInfo(int slot)
public void add(int slot, 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 |