org.apache.bcel.verifier.statics
Class LocalVariablesInfo
java.lang.Object
org.apache.bcel.verifier.statics.LocalVariablesInfo
public class LocalVariablesInfo
extends java.lang.Object
A utility class holding the information about
the names and the types of the local variables in
a given method.
$Id: LocalVariablesInfo.java 386056 2006-03-15 11:31:56Z tcurdt $
localVariableInfos
private LocalVariableInfo[] localVariableInfos
The information about the local variables is stored here.
LocalVariablesInfo
(package private) LocalVariablesInfo(int max_locals)
The constructor.
add
public void add(int slot,
String name,
int startpc,
int length,
Type t)
throws LocalVariableInfoInconsistentException
Adds information about the local variable in slot 'slot'. Automatically
adds information for slot+1 if 't' is Type.LONG or Type.DOUBLE.
getLocalVariableInfo
public LocalVariableInfo getLocalVariableInfo(int slot)
Returns the LocalVariableInfo for the given slot.