public class JvmInstructionCfaEdge extends JvmCfaEdge
JvmCfaEdge the operation of which is defined by an instruction.
An instruction is identified by a code attribute and an offset and generated on the fly.
| Constructor and Description |
|---|
JvmInstructionCfaEdge(CodeAttribute methodCode,
int offset)
Create a disconnected JVM CFA instruction edge.
|
JvmInstructionCfaEdge(JvmCfaNode source,
JvmCfaNode target,
CodeAttribute methodCode,
int offset)
Create a JVM CFA instruction edge.
|
| Modifier and Type | Method and Description |
|---|---|
Instruction |
getInstruction()
Generates and returns the JVM instruction represented by the edge.
|
CodeAttribute |
getMethodCode()
Returns the code attribute of the method the node belongs to.
|
getSource, getTarget, setSource, setTarget, targetSignaturepublic JvmInstructionCfaEdge(CodeAttribute methodCode, int offset)
methodCode - the code attribute of the method the edge belongs tooffset - the offset of the instruction represented by the edgepublic JvmInstructionCfaEdge(JvmCfaNode source, JvmCfaNode target, CodeAttribute methodCode, int offset)
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 edgepublic Instruction getInstruction()
public CodeAttribute getMethodCode()