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 booleanbranches()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, equivToMethods inherited from interface sootup.core.jimple.common.stmt.Stmt
asInvokableStmt, asJAssignStmt, asJBreakpointStmt, asJEnterMonitorStmt, asJExitMonitorStmt, asJGotoStmt, asJIdentityStmt, asJIfStmt, asJInvokeStmt, asJNopStmt, asJRetStmt, asJReturnStmt, asJReturnVoidStmt, asJSwitchStmt, asJThrowStmt, containsArrayRef, containsFieldRef, fallsThrough, getArrayRef, getDef, getExpectedSuccessorCount, getFieldRef, getPositionInfo, getUses, getUsesAndDefs, isInvokableStmt, isJAssignStmt, isJBreakpointStmt, isJEnterMonitorStmt, isJExitMonitorStmt, isJGotoStmt, isJIdentityStmt, isJIfStmt, isJInvokeStmt, isJNopStmt, isJRetStmt, isJReturnStmt, isJReturnVoidStmt, isJSwitchStmt, isJThrowStmt, toJAssignStmt, toJBreakpointStmt, toJEnterMonitorStmt, toJExitMonitorStmt, toJGotoStmt, toJIdentityStmt, toJIfStmt, toJInvokeStmt, toJNopStmt, toJRetStmt, toJReturnStmt, toJReturnVoidStmt, toJSwitchStmt, toJThrowStmt, toString, withNewUse
-
Method Details
-
getTargetStmts
-
branches
default boolean branches()Description copied from interface:StmtReturns true if execution after this statement does not necessarily continue at the following statement. TheBranchingStmt's GotoStmt, JSwitchStmt and IfStmt will return true.
-