public class JvmLocalVariableLocation extends JvmMemoryLocation
JvmLocalVariableLocation is a memory location at the local variable array for a certain program point.| Modifier and Type | Field and Description |
|---|---|
int |
index |
argNode| Constructor and Description |
|---|
JvmLocalVariableLocation(ArgProgramLocationDependentAbstractState<JvmCfaNode,JvmCfaEdge,MethodSignature> argNode,
int index)
Create a local variable location at a specific program location.
|
JvmLocalVariableLocation(int index)
Create a local variable location unspecific to a program location.
|
| Modifier and Type | Method and Description |
|---|---|
JvmLocalVariableLocation |
copy()
Creates its copy.
|
boolean |
equals(java.lang.Object obj) |
<T extends LatticeAbstractState> |
extractValueOrDefault(JvmAbstractState abstractState,
T defaultValue)
Returns an
AbstractState representing value stored at the MemoryLocation in the input AbstractState. |
int |
hashCode() |
java.lang.String |
toString() |
getArgNode, getProgramLocation, setArgNode, setProgramLocationpublic JvmLocalVariableLocation(int index)
index - a position at the local variable arraypublic JvmLocalVariableLocation(ArgProgramLocationDependentAbstractState<JvmCfaNode,JvmCfaEdge,MethodSignature> argNode, int index)
argNode - an ARG nodeindex - a position at the local variable arraypublic JvmLocalVariableLocation copy()
MemoryLocationcopy in class JvmMemoryLocationpublic <T extends LatticeAbstractState> T extractValueOrDefault(JvmAbstractState abstractState, T defaultValue)
MemoryLocationAbstractState representing value stored at the MemoryLocation in the input AbstractState.
If the AbstractState does not specify a ValueT at the MemoryLocation, the default value is returned.extractValueOrDefault in class MemoryLocation<JvmCfaNode,JvmCfaEdge,MethodSignature,LatticeAbstractState,JvmAbstractState>public boolean equals(java.lang.Object obj)
equals in class MemoryLocation<JvmCfaNode,JvmCfaEdge,MethodSignature,LatticeAbstractState,JvmAbstractState>public int hashCode()
hashCode in class MemoryLocation<JvmCfaNode,JvmCfaEdge,MethodSignature,LatticeAbstractState,JvmAbstractState>public java.lang.String toString()
toString in class java.lang.Object