public class JvmStaticFieldLocation extends JvmMemoryLocation
JvmStaticFieldLocation
is a memory location corresponding to a public static field.Modifier and Type | Field and Description |
---|---|
java.lang.String |
fqn |
Constructor and Description |
---|
JvmStaticFieldLocation(java.lang.String fqn)
Create a static field 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 JvmStaticFieldLocation(java.lang.String fqn)
fqn
- a fully qualified namepublic <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>