java.lang.Object
org.jd.core.v1.service.converter.classfiletojavasyntax.model.cfg.ControlFlowGraph

public class ControlFlowGraph extends Object
  • Field Details

    • method

      protected Method method
    • list

      protected DefaultList<BasicBlock> list
    • offsetToLineNumbers

      protected int[] offsetToLineNumbers
  • Constructor Details

    • ControlFlowGraph

      public ControlFlowGraph(Method method)
  • Method Details

    • 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, HashSet<BasicBlock> predecessors)
    • setOffsetToLineNumbers

      public void setOffsetToLineNumbers(int[] offsetToLineNumbers)
    • getLineNumber

      public int getLineNumber(int offset)