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 LocalVariableInfo getLocalVariableInfo(int slot)
slot
- Slot to query.public void add(int slot, String name, int startPc, int length, Type type) throws LocalVariableInfoInconsistentException
name
- variable namestartPc
- Range in which the variable is valid.length
- length of ...type
- variable typeLocalVariableInfoInconsistentException
- if the new information conflicts
with already gathered information.Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.