Package pascal.taie.ir.stmt
Class FieldStmt<L extends LValue,R extends RValue>
java.lang.Object
pascal.taie.ir.stmt.DefinitionStmt<L,R>
pascal.taie.ir.stmt.AssignStmt<L,R>
pascal.taie.ir.stmt.FieldStmt<L,R>
- All Implemented Interfaces:
Serializable
,Stmt
,Indexable
- Direct Known Subclasses:
LoadField
,StoreField
Load/Store field statements.
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
abstract FieldAccess
int
getIndex()
int
boolean
isStatic()
void
setIndex
(int index) void
setLineNumber
(int lineNumber) Methods inherited from class pascal.taie.ir.stmt.AssignStmt
getDef, getLValue, getRValue, getUses, toString
-
Field Details
-
index
protected int index -
lineNumber
protected int lineNumber
-
-
Method Details
-
getFieldAccess
-
getFieldRef
-
isStatic
public boolean isStatic() -
getIndex
public int getIndex() -
setIndex
public void setIndex(int index) -
getLineNumber
public int getLineNumber()- Specified by:
getLineNumber
in 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:
setLineNumber
in interfaceStmt
-
canFallThrough
public boolean canFallThrough()- Specified by:
canFallThrough
in interfaceStmt
- Returns:
- true if execution after this statement could continue at the following statement, otherwise false.
-