Package sootup.core.jimple.basic
Class FullStmtPositionInfo
java.lang.Object
sootup.core.jimple.basic.StmtPositionInfo
sootup.core.jimple.basic.SimpleStmtPositionInfo
sootup.core.jimple.basic.FullStmtPositionInfo
This class stores position information stored for a statement. line number + information about
its operands
- Author:
- Linghui Luo, Markus Schmidt
-
Field Summary
Fields inherited from class sootup.core.jimple.basic.SimpleStmtPositionInfo
stmtPosition
Fields inherited from class sootup.core.jimple.basic.StmtPositionInfo
NOPOSITION
-
Constructor Summary
ConstructorDescriptionFullStmtPositionInfo
(Position stmtPosition, Position[] operandPositions) Create an instance from given statement position and operand positions. -
Method Summary
Modifier and TypeMethodDescriptiongetOperandPosition
(int index) Return the precise position of the given operand in the statement.Return the position of the statement.toString()
withOperandPositions
(Position[] operandPositions) withStmtPosition
(Position stmtPosition) Methods inherited from class sootup.core.jimple.basic.StmtPositionInfo
getNoStmtPositionInfo
-
Field Details
-
operandPositions
-
-
Constructor Details
-
FullStmtPositionInfo
Create an instance from given statement position and operand positions.- Parameters:
stmtPosition
- the position of the statementoperandPositions
- the operand positions
-
-
Method Details
-
getStmtPosition
Return the position of the statement.- Overrides:
getStmtPosition
in classSimpleStmtPositionInfo
- Returns:
- the position of the statement
-
getOperandPosition
Return the precise position of the given operand in the statement.- Overrides:
getOperandPosition
in classSimpleStmtPositionInfo
- Parameters:
index
- the operand index- Returns:
- the position of the given operand
-
toString
- Overrides:
toString
in classStmtPositionInfo
-
withStmtPosition
-
withOperandPositions
-