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
FieldsFields inherited from class sootup.core.jimple.basic.SimpleStmtPositionInfo
stmtPositionFields inherited from class sootup.core.jimple.basic.StmtPositionInfo
NOPOSITION -
Constructor Summary
ConstructorsConstructorDescriptionFullStmtPositionInfo(@NonNull Position stmtPosition, @NonNull 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.@NonNull PositionReturn the position of the statement.toString()@NonNull StmtPositionInfowithOperandPositions(@NonNull Position[] operandPositions) @NonNull StmtPositionInfowithStmtPosition(@NonNull 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:
getStmtPositionin classSimpleStmtPositionInfo- Returns:
- the position of the statement
-
getOperandPosition
Return the precise position of the given operand in the statement.- Overrides:
getOperandPositionin classSimpleStmtPositionInfo- Parameters:
index- the operand index- Returns:
- the position of the given operand
-
toString
- Overrides:
toStringin classStmtPositionInfo
-
withStmtPosition
-
withOperandPositions
-