Class JavaScriptConstructorInstanceKeys
java.lang.Object
com.ibm.wala.cast.js.ipa.callgraph.JavaScriptConstructorInstanceKeys
- All Implemented Interfaces:
InstanceKeyFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInstanceKeyForAllocation(CGNode node, NewSiteReference allocation) <T> InstanceKeygetInstanceKeyForConstant(TypeReference type, T S) getInstanceKeyForMetadataObject(Object obj, TypeReference objType) getInstanceKeyForMultiNewArray(CGNode node, NewSiteReference allocation, int dim) getInstanceKeyForPEI(CGNode node, ProgramCounter instr, TypeReference type)
-
Constructor Details
-
JavaScriptConstructorInstanceKeys
-
-
Method Details
-
getInstanceKeyForAllocation
- Specified by:
getInstanceKeyForAllocationin interfaceInstanceKeyFactory- Returns:
- the instance key that represents a particular allocation
-
getInstanceKeyForMetadataObject
- Specified by:
getInstanceKeyForMetadataObjectin interfaceInstanceKeyFactory- Parameters:
objType- TODO- Returns:
- the instance key that represents the metadata object obj
-
getInstanceKeyForConstant
- Specified by:
getInstanceKeyForConstantin interfaceInstanceKeyFactory- Returns:
- the instance key that represents a constant with value S, when considered as a particular type
-
getInstanceKeyForMultiNewArray
public InstanceKey getInstanceKeyForMultiNewArray(CGNode node, NewSiteReference allocation, int dim) - Specified by:
getInstanceKeyForMultiNewArrayin interfaceInstanceKeyFactory- Returns:
- the instance key that represents the array allocated as the dim_th dimension at a particular allocation
-
getInstanceKeyForPEI
- Specified by:
getInstanceKeyForPEIin interfaceInstanceKeyFactory- Returns:
- the instance key that represents the exception of type _type_ thrown by a particular PEI.
-