Package sootup.core.jimple.common.stmt
Interface BranchingStmt
- All Superinterfaces:
Acceptor<StmtVisitor>
,EquivTo
,Stmt
- All Known Implementing Classes:
JGotoStmt
,JIfStmt
,JSwitchStmt
Interface for Stmts at which the execution does not necessarily continue with the following Stmt
in the List
mandatory: branches() needs to be true!
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
branches()
Returns true if execution after this statement does not necessarily continue at the following statement.getTargetStmts
(Body body) Methods inherited from interface sootup.core.jimple.basic.EquivTo
equivHashCode, equivTo, equivTo
Methods inherited from interface sootup.core.jimple.common.stmt.Stmt
asInvokableStmt, containsArrayRef, containsFieldRef, fallsThrough, getArrayRef, getDef, getExpectedSuccessorCount, getFieldRef, getPositionInfo, getUses, getUsesAndDefs, isInvokableStmt, toString, withNewUse
-
Method Details
-
getTargetStmts
-
branches
default boolean branches()Description copied from interface:Stmt
Returns true if execution after this statement does not necessarily continue at the following statement. TheBranchingStmt
's GotoStmt, JSwitchStmt and IfStmt will return true.
-