public abstract class AbstractReflectiveGet extends ReflectiveMemberAccess
SSAInstruction.IVisitor, SSAInstruction.Visitor
memberRef, objectRef
iindex, NO_INDEX
Constructor and Description |
---|
AbstractReflectiveGet(int iindex,
int result,
int objectRef,
int memberRef) |
Modifier and Type | Method and Description |
---|---|
int |
getDef() |
int |
getDef(int i)
Return the ith def
|
int |
getNumberOfDefs() |
int |
getNumberOfUses() |
boolean |
hasDef()
Does this instruction define a normal value, as distinct from a set of exceptions possibly thrown by it (e.g.
|
String |
toString(SymbolTable symbolTable) |
getMemberRef, getObjectRef, getUse, hashCode, isFallThrough
copyForSSA, equals, getExceptionTypes, getValueString, isPEI, toString, visit
public AbstractReflectiveGet(int iindex, int result, int objectRef, int memberRef)
public String toString(SymbolTable symbolTable)
toString
in class ReflectiveMemberAccess
public boolean hasDef()
SSAInstruction
hasDef
in class SSAInstruction
com.ibm.wala.ssa.Instruction#getDef()
public int getDef()
getDef
in class SSAInstruction
public int getDef(int i)
SSAInstruction
getDef
in class SSAInstruction
i
- number of the def, starting at 0.public int getNumberOfUses()
getNumberOfUses
in class SSAInstruction
com.ibm.wala.ssa.Instruction#getNumberOfUses()
public int getNumberOfDefs()
getNumberOfDefs
in class SSAInstruction