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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic StmtPositionInfo
Create an instance with no position information.abstract Position
getOperandPosition
(int index) Return the precise position of the given operand in the statement.abstract 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
-