Package pascal.taie.ir.stmt
Class StoreField
- All Implemented Interfaces:
Serializable,Stmt,Indexable
Representation of following store field statements:
- store instance field: o.f = x
- store static field: T.f = x
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(StmtVisitor<T> visitor) booleanintgetIndex()intvoidsetIndex(int index) voidsetLineNumber(int lineNumber) Methods inherited from class pascal.taie.ir.stmt.FieldStmt
getFieldRef, isStatic
-
Field Details
-
index
protected int index -
lineNumber
protected int lineNumber
-
-
Constructor Details
-
StoreField
-
-
Method Details
-
getFieldAccess
- Specified by:
getFieldAccessin classFieldStmt<FieldAccess,Var>
-
accept
-
getIndex
public int getIndex() -
setIndex
public void setIndex(int index) -
getLineNumber
public int getLineNumber()- Specified by:
getLineNumberin interfaceStmt- Returns:
- the line number of this Stmt in the original source file. If the line number is unavailable, return -1.
-
setLineNumber
public void setLineNumber(int lineNumber) - Specified by:
setLineNumberin interfaceStmt
-
canFallThrough
public boolean canFallThrough()- Specified by:
canFallThroughin interfaceStmt- Returns:
- true if execution after this statement could continue at the following statement, otherwise false.
-