public class LocalVariablesInfo extends Object
Modifier and Type | Method and Description |
---|---|
void |
add(int slot,
String name,
int startPc,
int length,
Type type)
Adds information about the local variable in slot 'slot'.
|
LocalVariableInfo |
getLocalVariableInfo(int slot)
Returns the LocalVariableInfo for the given slot.
|
public void add(int slot, String name, int startPc, int length, Type type) throws LocalVariableInfoInconsistentException
slot
- Slot number for local variable informationname
- variable namestartPc
- Range in which the variable is valid.length
- length of ...type
- variable typeLocalVariableInfoInconsistentException
- if the new information conflicts with already gathered information.public LocalVariableInfo getLocalVariableInfo(int slot)
slot
- Slot to query.Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.