Package sootup.core.jimple.common.stmt
Class AbstractDefinitionStmt
java.lang.Object
sootup.core.jimple.common.stmt.AbstractStmt
sootup.core.jimple.common.stmt.AbstractDefinitionStmt
- All Implemented Interfaces:
EquivTo,Stmt,Acceptor<StmtVisitor>
- Direct Known Subclasses:
JAssignStmt,JIdentityStmt
-
Field Summary
Fields inherited from class sootup.core.jimple.common.stmt.AbstractStmt
positionInfo -
Method Summary
Modifier and TypeMethodDescriptionbooleanbranches()Returns true if execution after this statement does not necessarily continue at the following statement.booleanReturns true if execution after this statement may continue at the following statement.getDef()Returns a list of Values defined in this Stmt.abstract @NonNull LValueabstract @NonNull Value@NonNull TypegetType()getUses()Returns a list of Values used in this Stmt.abstract @NonNull FallsThroughStmtwithNewDef(@NonNull Local newLocal) Methods inherited from class sootup.core.jimple.common.stmt.AbstractStmt
asInvokableStmt, containsArrayRef, containsFieldRef, getArrayRef, getExpectedSuccessorCount, getFieldRef, getPositionInfo, getUsesAndDefs, isInvokableStmt, withNewUseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface sootup.core.jimple.basic.EquivTo
equivHashCode, equivTo, equivToMethods inherited from interface sootup.core.jimple.common.stmt.Stmt
asJAssignStmt, asJBreakpointStmt, asJEnterMonitorStmt, asJExitMonitorStmt, asJGotoStmt, asJIdentityStmt, asJIfStmt, asJInvokeStmt, asJNopStmt, asJRetStmt, asJReturnStmt, asJReturnVoidStmt, asJSwitchStmt, asJThrowStmt, 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
-
Method Details
-
getLeftOp
-
getRightOp
-
getType
-
getDef
Description copied from class:AbstractStmtReturns a list of Values defined in this Stmt. There are languages which allow multiple return types/assignments so we return a List- Specified by:
getDefin interfaceStmt- Overrides:
getDefin classAbstractStmt
-
getUses
Description copied from class:AbstractStmtReturns a list of Values used in this Stmt. Note that they are returned in usual evaluation order.- Specified by:
getUsesin interfaceStmt- Overrides:
getUsesin classAbstractStmt
-
fallsThrough
public boolean fallsThrough()Description copied from interface:StmtReturns 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
public 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. -
withNewDef
-