public abstract class JvmCfaEdge extends java.lang.Object implements CfaEdge<JvmCfaNode>
CfaEdge
for JVM instructions.Constructor and Description |
---|
JvmCfaEdge()
Create a disconnected JVM CFA edge.
|
JvmCfaEdge(JvmCfaNode source,
JvmCfaNode target)
Create a JVM CFA edge.
|
Modifier and Type | Method and Description |
---|---|
JvmCfaNode |
getSource()
Returns its source node.
|
JvmCfaNode |
getTarget()
Returns its target node.
|
void |
setSource(JvmCfaNode source)
Sets a node as the predecessor of the edge and adds the edge as leaving edge of the node.
|
void |
setTarget(JvmCfaNode target)
Sets a node as the successor of the edge and adds the edge as entering edge of the node.
|
MethodSignature |
targetSignature()
Returns the signature of the target method.
|
public JvmCfaEdge()
public JvmCfaEdge(JvmCfaNode source, JvmCfaNode target)
source
- the source node of the edgetarget
- the target node of the edgepublic JvmCfaNode getSource()
CfaEdge
getSource
in interface CfaEdge<JvmCfaNode>
public JvmCfaNode getTarget()
CfaEdge
getTarget
in interface CfaEdge<JvmCfaNode>
public void setSource(JvmCfaNode source)
public void setTarget(JvmCfaNode target)
public MethodSignature targetSignature()