Class BasicBlock

java.lang.Object
javassist.bytecode.stackmap.BasicBlock
Direct Known Subclasses:
ControlFlow.Block, TypedBlock

public class BasicBlock extends Object
A basic block is a sequence of bytecode that does not contain jump/branch instructions except at the last bytecode. Since Java7 or later does not allow JSR, this class throws an exception when it finds JSR.
  • Field Details

    • position

      protected int position
    • length

      protected int length
    • incoming

      protected int incoming
    • exit

      protected BasicBlock[] exit
    • stop

      protected boolean stop
    • toCatch

      protected BasicBlock.Catch toCatch
  • Constructor Details

    • BasicBlock

      protected BasicBlock(int pos)
  • Method Details