public class JvmLocalVariableLocation extends JvmMemoryLocation
JvmLocalVariableLocation
is a memory location at the local variable array.Modifier and Type | Field and Description |
---|---|
int |
index |
Constructor and Description |
---|
JvmLocalVariableLocation(int index)
Create a local variable location.
|
Modifier and Type | Method and Description |
---|---|
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() |
public JvmLocalVariableLocation(int index)
index
- a position at the local variable arraypublic <T extends LatticeAbstractState> T extractValueOrDefault(JvmAbstractState abstractState, T defaultValue)
MemoryLocation
AbstractState
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 MemoryLocation<JvmCfaNode,JvmCfaEdge,MethodSignature,LatticeAbstractState,JvmAbstractState>