org.apache.bcel.verifier.statics
public class LocalVariablesInfo extends Object
Modifier and Type | Field and Description |
---|---|
private LocalVariableInfo[] |
localVariableInfos
The information about the local variables is stored here.
|
Constructor and Description |
---|
LocalVariablesInfo(int max_locals)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(int slot,
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.
|
private LocalVariableInfo[] localVariableInfos
public LocalVariableInfo getLocalVariableInfo(int slot)
public void add(int slot, String name, int startpc, int length, Type t) throws LocalVariableInfoInconsistentException
LocalVariableInfoInconsistentException
- if the new information conflicts
with already gathered information.