Class MutableBasicBlockImpl

java.lang.Object
sootup.core.graph.MutableBasicBlockImpl
All Implemented Interfaces:
BasicBlock<MutableBasicBlock>, MutableBasicBlock

public class MutableBasicBlockImpl extends Object implements MutableBasicBlock
Block of a MutableBlockControlFlowGraph.

Edges are changed only via the package-private link primitives, which always update both ends: normal edges (link(int, sootup.core.graph.MutableBasicBlockImpl)/unlink(int)) and exceptional edges (linkExc(sootup.core.types.ClassType, sootup.core.graph.MutableBasicBlockImpl)/unlinkExc(sootup.core.types.ClassType)). Normal and exceptional predecessors are kept apart, one entry per edge, so removing an edge removes exactly one entry.

The successor array always has the size of the tail's expected successor count; unset slots are null.