Package com.ibm.wala.ssa
Class ReflectiveMemberAccess
- java.lang.Object
-
- com.ibm.wala.ssa.SSAInstruction
-
- com.ibm.wala.ssa.ReflectiveMemberAccess
-
- Direct Known Subclasses:
AbstractReflectiveGet
,AbstractReflectivePut
public abstract class ReflectiveMemberAccess extends SSAInstruction
TODO: document me.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.ibm.wala.ssa.SSAInstruction
SSAInstruction.IVisitor, SSAInstruction.Visitor
-
-
Field Summary
Fields Modifier and Type Field Description protected int
memberRef
protected int
objectRef
-
Fields inherited from class com.ibm.wala.ssa.SSAInstruction
iindex, NO_INDEX
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ReflectiveMemberAccess(int iindex, int objectRef, int memberRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMemberRef()
int
getObjectRef()
int
getUse(int j)
int
hashCode()
boolean
isFallThrough()
String
toString(SymbolTable symbolTable)
-
Methods inherited from class com.ibm.wala.ssa.SSAInstruction
copyForSSA, equals, getDef, getDef, getExceptionTypes, getNumberOfDefs, getNumberOfUses, getValueString, hasDef, isPEI, toString, visit
-
-
-
-
Method Detail
-
toString
public String toString(SymbolTable symbolTable)
- Specified by:
toString
in classSSAInstruction
-
getUse
public int getUse(int j)
- Overrides:
getUse
in classSSAInstruction
- Returns:
- value number representing the jth use in this instruction. -1 means TOP (i.e., the value doesn't matter)
-
getObjectRef
public int getObjectRef()
-
getMemberRef
public int getMemberRef()
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classSSAInstruction
-
isFallThrough
public boolean isFallThrough()
- Specified by:
isFallThrough
in classSSAInstruction
- Returns:
- true iff this instruction may fall through to the next
-
-