Package sootup.core.jimple.basic
Class StmtPositionInfo
java.lang.Object
sootup.core.jimple.basic.StmtPositionInfo
- Direct Known Subclasses:
SimpleStmtPositionInfo
This class stores position information stored for a statement.
- Author:
- Linghui Luo, Markus Schmidt
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull StmtPositionInfo
Create an instance with no position information.abstract @Nullable Position
getOperandPosition
(int index) Return the precise position of the given operand in the statement.abstract @NonNull Position
Return the position of the statement.toString()
-
Field Details
-
NOPOSITION
-
-
Constructor Details
-
StmtPositionInfo
public StmtPositionInfo()
-
-
Method Details
-
getNoStmtPositionInfo
Create an instance with no position information.- Returns:
- an instance with no position information.
-
getStmtPosition
Return the position of the statement.- Returns:
- the position of the statement
-
getOperandPosition
Return the precise position of the given operand in the statement.- Parameters:
index
- the operand index- Returns:
- the position of the given operand
-
toString
-