public class LocalVariableState
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ConstPool |
constPool |
private java.util.List<StackEntry> |
contents
The contents, null is used to represent the additional spot taken up by a wide variable.
|
Modifier | Constructor and Description |
---|---|
|
LocalVariableState(ClassMethod method)
construct the initial local variable state for a method
|
|
LocalVariableState(ConstPool pool,
java.lang.String... entries) |
private |
LocalVariableState(java.util.List<StackEntry> contents,
ConstPool constPool) |
Modifier and Type | Method and Description |
---|---|
LocalVariableState |
constructorCall(StackEntry entry) |
StackEntry |
get(int index) |
java.util.List<StackEntry> |
getContents() |
int |
size() |
LocalVariableState |
store(int index,
StackEntry entry) |
LocalVariableState |
storeWide(int index,
StackEntry entry) |
java.lang.String |
toString() |
private final java.util.List<StackEntry> contents
This list may be shared between frames, so it must never be modified
The very first element represents the first local variable (this for non static methods)
private final ConstPool constPool
public LocalVariableState(ClassMethod method)
public LocalVariableState(ConstPool pool, java.lang.String... entries)
private LocalVariableState(java.util.List<StackEntry> contents, ConstPool constPool)
public java.util.List<StackEntry> getContents()
public StackEntry get(int index)
public LocalVariableState storeWide(int index, StackEntry entry)
public LocalVariableState store(int index, StackEntry entry)
public int size()
public java.lang.String toString()
toString
in class java.lang.Object
public LocalVariableState constructorCall(StackEntry entry)