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 intmemberRefprotected intobjectRef-
Fields inherited from class com.ibm.wala.ssa.SSAInstruction
iindex, NO_INDEX
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedReflectiveMemberAccess(int iindex, int objectRef, int memberRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMemberRef()intgetObjectRef()intgetUse(int j)inthashCode()booleanisFallThrough()StringtoString(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:
toStringin classSSAInstruction
-
getUse
public int getUse(int j)
- Overrides:
getUsein 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:
hashCodein classSSAInstruction
-
isFallThrough
public boolean isFallThrough()
- Specified by:
isFallThroughin classSSAInstruction- Returns:
- true iff this instruction may fall through to the next
-
-