Class ControlFlowGraph
- java.lang.Object
-
- org.jd.core.v1.service.converter.classfiletojavasyntax.model.cfg.ControlFlowGraph
-
public class ControlFlowGraph extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected DefaultList<BasicBlock>listprotected Methodmethodprotected int[]offsetToLineNumbers
-
Constructor Summary
Constructors Constructor Description ControlFlowGraph(Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultList<BasicBlock>getBasicBlocks()intgetLineNumber(int offset)MethodgetMethod()BasicBlockgetStart()BasicBlocknewBasicBlock(int fromOffset, int toOffset)BasicBlocknewBasicBlock(int type, int fromOffset, int toOffset)BasicBlocknewBasicBlock(int type, int fromOffset, int toOffset, boolean inverseCondition)BasicBlocknewBasicBlock(int type, int fromOffset, int toOffset, java.util.HashSet<BasicBlock> predecessors)BasicBlocknewBasicBlock(BasicBlock original)voidsetOffsetToLineNumbers(int[] offsetToLineNumbers)
-
-
-
Field Detail
-
method
protected Method method
-
list
protected DefaultList<BasicBlock> list
-
offsetToLineNumbers
protected int[] offsetToLineNumbers
-
-
Constructor Detail
-
ControlFlowGraph
public ControlFlowGraph(Method method)
-
-
Method Detail
-
getMethod
public Method getMethod()
-
getBasicBlocks
public DefaultList<BasicBlock> getBasicBlocks()
-
getStart
public BasicBlock getStart()
-
newBasicBlock
public BasicBlock newBasicBlock(BasicBlock original)
-
newBasicBlock
public BasicBlock newBasicBlock(int fromOffset, int toOffset)
-
newBasicBlock
public BasicBlock newBasicBlock(int type, int fromOffset, int toOffset)
-
newBasicBlock
public BasicBlock newBasicBlock(int type, int fromOffset, int toOffset, boolean inverseCondition)
-
newBasicBlock
public BasicBlock newBasicBlock(int type, int fromOffset, int toOffset, java.util.HashSet<BasicBlock> predecessors)
-
setOffsetToLineNumbers
public void setOffsetToLineNumbers(int[] offsetToLineNumbers)
-
getLineNumber
public int getLineNumber(int offset)
-
-