Package sootup.core.graph
Interface MutableBasicBlock
- All Superinterfaces:
BasicBlock<MutableBasicBlock>
- All Known Implementing Classes:
MutableBasicBlockImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
copyExceptionalFlowFrom
(MutableBasicBlock sourceBlock) getHead()
int
getStmts()
getTail()
void
linkExceptionalSuccessorBlock
(ClassType exception, MutableBasicBlock b) void
linkSuccessor
(int successorIdx, MutableBasicBlock blockB) void
removeExceptionalSuccessorBlock
(ClassType exception) void
boolean
void
removeStmt
(int idx) void
removeStmt
(Stmt stmt) boolean
replacePredecessorBlock
(MutableBasicBlock oldBlock, MutableBasicBlock newBlock) void
replaceStmt
(int idx, Stmt newStmt) void
replaceStmt
(Stmt oldStmt, Stmt newStmt) replaceSuccessorBlock
(MutableBasicBlock oldBlock, MutableBasicBlock newBlock) void
setSuccessorBlock
(int successorIdx, MutableBasicBlock block) splitBlockLinked
(int splitIdx) splitBlockLinked
(Stmt splitStmt, boolean shouldBeNewHead) splitBlockUnlinked
(int splitIdx) splitBlockUnlinked
(Stmt newTail, Stmt newHead) Methods inherited from interface sootup.core.graph.BasicBlock
equivTo, isEmpty
-
Method Details
-
addStmt
-
removeStmt
void removeStmt(int idx) -
removeStmt
-
replaceStmt
-
addPredecessorBlock
-
linkSuccessor
-
removePredecessorBlock
-
setSuccessorBlock
-
removeFromSuccessorBlocks
-
linkExceptionalSuccessorBlock
-
removeExceptionalSuccessorBlock
-
splitBlockLinked
-
copyExceptionalFlowFrom
-
splitBlockUnlinked
-
splitBlockUnlinked
-
splitBlockLinked
-
clearSuccessorBlocks
void clearSuccessorBlocks() -
clearExceptionalSuccessorBlocks
void clearExceptionalSuccessorBlocks() -
clearPredecessorBlocks
void clearPredecessorBlocks() -
replaceSuccessorBlock
List<Integer> replaceSuccessorBlock(@Nonnull MutableBasicBlock oldBlock, @Nullable MutableBasicBlock newBlock) -
replacePredecessorBlock
-
collectExceptionalSuccessorBlocks
-
getPredecessors
- Specified by:
getPredecessors
in interfaceBasicBlock<MutableBasicBlock>
-
getSuccessors
- Specified by:
getSuccessors
in interfaceBasicBlock<MutableBasicBlock>
-
getExceptionalPredecessors
Map<ClassType,MutableBasicBlock> getExceptionalPredecessors()- Specified by:
getExceptionalPredecessors
in interfaceBasicBlock<MutableBasicBlock>
-
getExceptionalSuccessors
- Specified by:
getExceptionalSuccessors
in interfaceBasicBlock<MutableBasicBlock>
-
getStmtCount
int getStmtCount()- Specified by:
getStmtCount
in interfaceBasicBlock<MutableBasicBlock>
-
getStmts
- Specified by:
getStmts
in interfaceBasicBlock<MutableBasicBlock>
-
getHead
- Specified by:
getHead
in interfaceBasicBlock<MutableBasicBlock>
-
getTail
- Specified by:
getTail
in interfaceBasicBlock<MutableBasicBlock>
-
replaceStmt
-