Package sootup.core.graph
Interface MutableBasicBlock
- All Superinterfaces:
BasicBlock<MutableBasicBlock>
- All Known Implementing Classes:
MutableBasicBlockImpl
Block of a
MutableBlockControlFlowGraph. Read-only view: modify blocks through the graph,
which keeps both ends of every edge and its stmt index consistent.-
Method Summary
Modifier and TypeMethodDescription@NonNull Map<ClassType,MutableBasicBlock> @NonNull StmtgetHead()@NonNull List<MutableBasicBlock>normal and exceptional predecessors, one entry per edgeintgetStmts()@NonNull List<MutableBasicBlock>@NonNull StmtgetTail()Methods inherited from interface sootup.core.graph.BasicBlock
equivTo, isEmpty
-
Method Details
-
getPredecessors
@NonNull List<MutableBasicBlock> getPredecessors()normal and exceptional predecessors, one entry per edge- Specified by:
getPredecessorsin interfaceBasicBlock<MutableBasicBlock>
-
getSuccessors
@NonNull List<MutableBasicBlock> getSuccessors()- Specified by:
getSuccessorsin interfaceBasicBlock<MutableBasicBlock>
-
getExceptionalPredecessors
Map<ClassType,MutableBasicBlock> getExceptionalPredecessors()- Specified by:
getExceptionalPredecessorsin interfaceBasicBlock<MutableBasicBlock>
-
getExceptionalSuccessors
@NonNull Map<ClassType,MutableBasicBlock> getExceptionalSuccessors()- Specified by:
getExceptionalSuccessorsin interfaceBasicBlock<MutableBasicBlock>
-
getStmtCount
int getStmtCount()- Specified by:
getStmtCountin interfaceBasicBlock<MutableBasicBlock>
-
getStmts
- Specified by:
getStmtsin interfaceBasicBlock<MutableBasicBlock>
-
getHead
@NonNull Stmt getHead()- Specified by:
getHeadin interfaceBasicBlock<MutableBasicBlock>
-
getTail
@NonNull Stmt getTail()- Specified by:
getTailin interfaceBasicBlock<MutableBasicBlock>
-