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 SSAInstruction
SSAInstruction.IVisitor, SSAInstruction.Visitor -
Field Summary
Fields inherited from class MultiReturnValueInvokeInstruction
resultsFields inherited from class SSAAbstractInvokeInstruction
exception, siteFields inherited from class SSAInstruction
NO_INDEX -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAstJavaInvokeInstruction(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 SSAInstructioncopyInstruction(SSAInstructionFactory insts, int[] results, int[] params, int exception) This method should never return null.inthashCode()voidApply an IVisitor to this instruction.Methods inherited from class FixedParametersInvokeInstruction
copyForSSA, getNumberOfPositionalParameters, getNumberOfUses, getUseMethods inherited from class MultiReturnValueInvokeInstruction
getNumberOfReturnValues, getReturnValueMethods inherited from class SSAAbstractInvokeInstruction
getCallSite, getDeclaredResultType, getDeclaredTarget, getDef, getDef, getException, getInvocationCode, getNumberOfDefs, getProgramCounter, getReceiver, hasDef, isDispatch, isFallThrough, isPEI, isSpecial, isStatic, toStringMethods inherited from class 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:
copyInstructionin classFixedParametersInvokeInstruction
-
visit
Description copied from class:SSAInstructionApply an IVisitor to this instruction. We invoke the appropriate IVisitor method according to the type of this instruction.- Overrides:
visitin classFixedParametersInvokeInstruction
-
getExceptionTypes
Description copied from class:SSAInstructionThis method should never return null.- Overrides:
getExceptionTypesin classSSAInstruction- Returns:
- the set of exception types that an instruction might throw ... disregarding athrows and invokes.
-
hashCode
public int hashCode()- Overrides:
hashCodein classFixedParametersInvokeInstruction
-