Class AstJavaInvokeInstruction
java.lang.Object
com.ibm.wala.ssa.SSAInstruction
com.ibm.wala.ssa.SSAAbstractInvokeInstruction
com.ibm.wala.cast.ir.ssa.MultiReturnValueInvokeInstruction
com.ibm.wala.cast.ir.ssa.FixedParametersInvokeInstruction
com.ibm.wala.cast.java.ssa.AstJavaInvokeInstruction
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ibm.wala.ssa.SSAInstruction
SSAInstruction.IVisitor, SSAInstruction.Visitor
-
Field Summary
Fields inherited from class com.ibm.wala.cast.ir.ssa.MultiReturnValueInvokeInstruction
results
Fields inherited from class com.ibm.wala.ssa.SSAAbstractInvokeInstruction
exception, site
Fields inherited from class com.ibm.wala.ssa.SSAInstruction
NO_INDEX
-
Constructor Summary
ModifierConstructorDescriptionprotected
AstJavaInvokeInstruction
(int iindex, int[] results, int[] params, int exception, CallSiteReference site) AstJavaInvokeInstruction
(int iindex, int[] params, int exception, CallSiteReference site) Constructor InvokeInstruction.AstJavaInvokeInstruction
(int iindex, int result, int[] params, int exception, CallSiteReference site) -
Method Summary
Modifier and TypeMethodDescriptionprotected SSAInstruction
copyInstruction
(SSAInstructionFactory insts, int[] results, int[] params, int exception) This method should never return null.int
hashCode()
void
Apply an IVisitor to this instruction.Methods inherited from class com.ibm.wala.cast.ir.ssa.FixedParametersInvokeInstruction
copyForSSA, getNumberOfPositionalParameters, getNumberOfUses, getUse
Methods inherited from class com.ibm.wala.cast.ir.ssa.MultiReturnValueInvokeInstruction
getNumberOfReturnValues, getReturnValue
Methods inherited from class com.ibm.wala.ssa.SSAAbstractInvokeInstruction
getCallSite, getDeclaredResultType, getDeclaredTarget, getDef, getDef, getException, getInvocationCode, getNumberOfDefs, getProgramCounter, getReceiver, hasDef, isDispatch, isFallThrough, isPEI, isSpecial, isStatic, toString
Methods inherited from class com.ibm.wala.ssa.SSAInstruction
equals, getValueString, iIndex, setInstructionIndex, toString
-
Constructor Details
-
AstJavaInvokeInstruction
protected AstJavaInvokeInstruction(int iindex, int[] results, int[] params, int exception, CallSiteReference site) -
AstJavaInvokeInstruction
public AstJavaInvokeInstruction(int iindex, int result, int[] params, int exception, CallSiteReference site) -
AstJavaInvokeInstruction
Constructor InvokeInstruction. This case for void return values
-
-
Method Details
-
copyInstruction
protected SSAInstruction copyInstruction(SSAInstructionFactory insts, int[] results, int[] params, int exception) - Specified by:
copyInstruction
in classFixedParametersInvokeInstruction
-
visit
Description copied from class:SSAInstruction
Apply an IVisitor to this instruction. We invoke the appropriate IVisitor method according to the type of this instruction.- Overrides:
visit
in classFixedParametersInvokeInstruction
-
getExceptionTypes
Description copied from class:SSAInstruction
This method should never return null.- Overrides:
getExceptionTypes
in classSSAInstruction
- Returns:
- the set of exception types that an instruction might throw ... disregarding athrows and invokes.
-
hashCode
public int hashCode()- Overrides:
hashCode
in classFixedParametersInvokeInstruction
-