类 JvmCfaEdge
- java.lang.Object
-
- proguard.analysis.cpa.jvm.cfa.edges.JvmCfaEdge
-
- 所有已实现的接口:
CfaEdge<JvmCfaNode>
public abstract class JvmCfaEdge extends java.lang.Object implements CfaEdge<JvmCfaNode>
Default implementation ofCfaEdgefor JVM instructions.
-
-
构造器概要
构造器 构造器 说明 JvmCfaEdge()Create a disconnected JVM CFA edge.JvmCfaEdge(JvmCfaNode source, JvmCfaNode target)Create a JVM CFA edge.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 JvmCfaNodegetSource()Returns its source node.JvmCfaNodegetTarget()Returns its target node.voidsetSource(JvmCfaNode source)Sets a node as the predecessor of the edge and adds the edge as leaving edge of the node.voidsetTarget(JvmCfaNode target)Sets a node as the successor of the edge and adds the edge as entering edge of the node.MethodSignaturetargetSignature()Returns the signature of the target method.
-
-
-
构造器详细资料
-
JvmCfaEdge
public JvmCfaEdge()
Create a disconnected JVM CFA edge.
-
JvmCfaEdge
public JvmCfaEdge(JvmCfaNode source, JvmCfaNode target)
Create a JVM CFA edge. Also sets it as the entering and leaving edge of the source and target nodes.- 参数:
source- the source node of the edgetarget- the target node of the edge
-
-
方法详细资料
-
getSource
public JvmCfaNode getSource()
从接口复制的说明:CfaEdgeReturns its source node.- 指定者:
getSource在接口中CfaEdge<JvmCfaNode>
-
getTarget
public JvmCfaNode getTarget()
从接口复制的说明:CfaEdgeReturns its target node.- 指定者:
getTarget在接口中CfaEdge<JvmCfaNode>
-
setSource
public void setSource(JvmCfaNode source)
Sets a node as the predecessor of the edge and adds the edge as leaving edge of the node.
-
setTarget
public void setTarget(JvmCfaNode target)
Sets a node as the successor of the edge and adds the edge as entering edge of the node.
-
targetSignature
public MethodSignature targetSignature()
Returns the signature of the target method. This is the current method or, for call edges, the target method of the call.
-
-