class LocalVariableDefn extends Object implements IDefn
Constructor and Description |
---|
LocalVariableDefn(Type type,
int offset)
Construct a local variable definition for a local variable.
|
Modifier and Type | Method and Description |
---|---|
void |
initialize()
Initialize this local variable.
|
boolean |
isInitialized()
Has this local variable been initialized?
|
int |
offset()
The offset of this variable on the stack frame.
|
Type |
type()
The type for this variable.
|
public LocalVariableDefn(Type type, int offset)
type
- the variable's type.offset
- the variable's offset from the base of the current stack frame
(allocated for each method invocation.)public Type type()
public int offset()
public void initialize()
public boolean isInitialized()