类 JvmAssumeCaseCfaEdge
- java.lang.Object
-
- proguard.analysis.cpa.jvm.cfa.edges.JvmCfaEdge
-
- proguard.analysis.cpa.jvm.cfa.edges.JvmInstructionCfaEdge
-
- proguard.analysis.cpa.jvm.cfa.edges.JvmAssumeCaseCfaEdge
-
- 所有已实现的接口:
CfaEdge<JvmCfaNode>
public class JvmAssumeCaseCfaEdge extends JvmInstructionCfaEdge
An edge representing an assumption that a case of a switch statement is taken.
-
-
构造器概要
构造器 构造器 说明 JvmAssumeCaseCfaEdge(JvmCfaNode source, JvmCfaNode target, CodeAttribute methodCode, int offset, int assumedCase)Create a JVM CFA assume case edge.JvmAssumeCaseCfaEdge(CodeAttribute methodCode, int offset, int assumedCase)Create a disconnected JVM CFA assume case edge.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetAssumedCase()Returns the assumed integer value of the switch variable made on this edge.-
从类继承的方法 proguard.analysis.cpa.jvm.cfa.edges.JvmInstructionCfaEdge
getInstruction, getMethodCode
-
从类继承的方法 proguard.analysis.cpa.jvm.cfa.edges.JvmCfaEdge
getSource, getTarget, setSource, setTarget, targetSignature
-
-
-
-
构造器详细资料
-
JvmAssumeCaseCfaEdge
public JvmAssumeCaseCfaEdge(CodeAttribute methodCode, int offset, int assumedCase)
Create a disconnected JVM CFA assume case edge.- 参数:
methodCode- the code attribute of the method the edge belongs tooffset- the offset of the instruction represented by the edgeassumedCase- an assumed integer value of the switch variable
-
JvmAssumeCaseCfaEdge
public JvmAssumeCaseCfaEdge(JvmCfaNode source, JvmCfaNode target, CodeAttribute methodCode, int offset, int assumedCase)
Create a JVM CFA assume case 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 edgemethodCode- the code attribute of the method the edge belongs tooffset- the offset of the instruction represented by the edgeassumedCase- an assumed integer value of the switch variable
-
-