public class JvmAssumeCaseCfaEdge extends JvmInstructionCfaEdge
Constructor and Description |
---|
JvmAssumeCaseCfaEdge(CodeAttribute methodCode,
int offset,
int assumedCase)
Create a disconnected JVM CFA assume case edge.
|
JvmAssumeCaseCfaEdge(JvmCfaNode source,
JvmCfaNode target,
CodeAttribute methodCode,
int offset,
int assumedCase)
Create a JVM CFA assume case edge.
|
Modifier and Type | Method and Description |
---|---|
int |
getAssumedCase()
Returns the assumed integer value of the switch variable made on this edge.
|
getInstruction, getMethodCode
getSource, getTarget, setSource, setTarget, targetSignature
public JvmAssumeCaseCfaEdge(CodeAttribute methodCode, int offset, int assumedCase)
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 variablepublic JvmAssumeCaseCfaEdge(JvmCfaNode source, JvmCfaNode target, CodeAttribute methodCode, int offset, int assumedCase)
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