public abstract class MemoryLocation<CfaNodeT extends CfaNode<CfaEdgeT,SignatureT>,CfaEdgeT extends CfaEdge<CfaNodeT>,SignatureT extends Signature,ValueT extends AbstractState,AbstractStateT extends AbstractState> extends java.lang.Object implements ProgramLocationDependent<CfaNodeT,CfaEdgeT,SignatureT>
| Modifier and Type | Field and Description |
|---|---|
protected ArgProgramLocationDependentAbstractState<CfaNodeT,CfaEdgeT,SignatureT> |
argNode |
| Constructor and Description |
|---|
MemoryLocation() |
| Modifier and Type | Method and Description |
|---|---|
abstract MemoryLocation<CfaNodeT,CfaEdgeT,SignatureT,ValueT,AbstractStateT> |
copy()
Creates its copy.
|
boolean |
equals(java.lang.Object obj) |
abstract <T extends ValueT> |
extractValueOrDefault(AbstractStateT abstractState,
T defaultValue)
Returns an
AbstractState representing value stored at the MemoryLocation in the input AbstractState. |
ArgProgramLocationDependentAbstractState<CfaNodeT,CfaEdgeT,SignatureT> |
getArgNode()
Return the ARG node it points at.
|
CfaNodeT |
getProgramLocation()
Returns the program location.
|
int |
hashCode() |
void |
setArgNode(ArgProgramLocationDependentAbstractState<CfaNodeT,CfaEdgeT,SignatureT> argNode)
Sets the ARG node to point at.
|
void |
setProgramLocation(CfaNodeT programLocation)
Sets the program location.
|
protected ArgProgramLocationDependentAbstractState<CfaNodeT extends CfaNode<CfaEdgeT,SignatureT>,CfaEdgeT extends CfaEdge<CfaNodeT>,SignatureT extends Signature> argNode
public CfaNodeT getProgramLocation()
ProgramLocationDependentgetProgramLocation in interface ProgramLocationDependent<CfaNodeT extends CfaNode<CfaEdgeT,SignatureT>,CfaEdgeT extends CfaEdge<CfaNodeT>,SignatureT extends Signature>public void setProgramLocation(CfaNodeT programLocation)
ProgramLocationDependentsetProgramLocation in interface ProgramLocationDependent<CfaNodeT extends CfaNode<CfaEdgeT,SignatureT>,CfaEdgeT extends CfaEdge<CfaNodeT>,SignatureT extends Signature>public ArgProgramLocationDependentAbstractState<CfaNodeT,CfaEdgeT,SignatureT> getArgNode()
public void setArgNode(ArgProgramLocationDependentAbstractState<CfaNodeT,CfaEdgeT,SignatureT> argNode)
public abstract <T extends ValueT> T extractValueOrDefault(AbstractStateT abstractState, T defaultValue)
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.public abstract MemoryLocation<CfaNodeT,CfaEdgeT,SignatureT,ValueT,AbstractStateT> copy()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object