Package sootup.core.jimple.common.stmt
Interface Stmt
- All Superinterfaces:
Acceptor<StmtVisitor>
,EquivTo
- All Known Subinterfaces:
BranchingStmt
,FallsThroughStmt
,InvokableStmt
- All Known Implementing Classes:
AbstractDefinitionStmt
,AbstractStmt
,JAssignStmt
,JBreakpointStmt
,JEnterMonitorStmt
,JExitMonitorStmt
,JGotoStmt
,JIdentityStmt
,JIfStmt
,JInvokeStmt
,JNopStmt
,JRetStmt
,JReturnStmt
,JReturnVoidStmt
,JSwitchStmt
,JThrowStmt
-
Method Summary
Modifier and TypeMethodDescriptionboolean
branches()
Returns true if execution after this statement does not necessarily continue at the following statement.boolean
boolean
boolean
Returns true if execution after this statement may continue at the following statement.getDef()
int
getUses()
boolean
void
toString
(StmtPrinter up) withNewUse
(Value oldUse, Value newUse) Methods inherited from interface sootup.core.jimple.basic.EquivTo
equivHashCode, equivTo, equivTo
-
Method Details
-
getUses
-
getDef
-
getUsesAndDefs
-
fallsThrough
boolean fallsThrough()Returns true if execution after this statement may continue at the following statement. (e.g. GotoStmt will return false and e.g. IfStmt will return true). -
branches
boolean branches()Returns true if execution after this statement does not necessarily continue at the following statement. TheBranchingStmt
's GotoStmt, JSwitchStmt and IfStmt will return true. -
getExpectedSuccessorCount
int getExpectedSuccessorCount() -
toString
-
containsArrayRef
boolean containsArrayRef() -
getArrayRef
JArrayRef getArrayRef() -
containsFieldRef
boolean containsFieldRef() -
getFieldRef
JFieldRef getFieldRef() -
getPositionInfo
StmtPositionInfo getPositionInfo() -
withNewUse
-
isInvokableStmt
boolean isInvokableStmt() -
asInvokableStmt
InvokableStmt asInvokableStmt()
-