Interface InstanceKeyFactory
- All Known Subinterfaces:
AstHeapModel
,ExtendedHeapModel
,HeapModel
- All Known Implementing Classes:
AllocationSiteInNodeFactory
,AstJavaCFABuilder
,AstJavaSSAPropagationCallGraphBuilder
,AstJavaZeroOneContainerCFABuilder
,AstJavaZeroXCFABuilder
,AstSSAPropagationCallGraphBuilder
,ClassBasedInstanceKeys
,CrossLanguageInstanceKeys
,CrossLanguageSSAPropagationCallGraphBuilder
,DelegatingExtendedHeapModel
,JavaJavaScriptHybridCallGraphBuilder
,JavaScopeMappingInstanceKeys
,JavaScriptConstructorInstanceKeys
,JavaScriptScopeMappingInstanceKeys
,JSCFABuilder
,JSSSAPropagationCallGraphBuilder
,JSZeroOrOneXCFABuilder
,nCFABuilder
,nObjBuilder
,PointerAnalysisImpl.HModel
,ScopeMappingInstanceKeys
,SmushedAllocationSiteInstanceKeys
,SSAPropagationCallGraphBuilder
,TypeBasedHeapModel
,ZeroXCFABuilder
,ZeroXContainerCFABuilder
,ZeroXInstanceKeys
public interface InstanceKeyFactory
An object that abstracts how to model instances in the heap.
-
Method Summary
Modifier and TypeMethodDescriptiongetInstanceKeyForAllocation
(CGNode node, NewSiteReference allocation) <T> InstanceKey
getInstanceKeyForConstant
(TypeReference type, T S) getInstanceKeyForMetadataObject
(Object obj, TypeReference objType) getInstanceKeyForMultiNewArray
(CGNode node, NewSiteReference allocation, int dim) getInstanceKeyForPEI
(CGNode node, ProgramCounter instr, TypeReference type)
-
Method Details
-
getInstanceKeyForAllocation
- Returns:
- the instance key that represents a particular allocation
-
getInstanceKeyForMultiNewArray
- Returns:
- the instance key that represents the array allocated as the dim_th dimension at a particular allocation
-
getInstanceKeyForConstant
- Returns:
- the instance key that represents a constant with value S, when considered as a particular type
-
getInstanceKeyForPEI
- Returns:
- the instance key that represents the exception of type _type_ thrown by a particular PEI.
-
getInstanceKeyForMetadataObject
- Parameters:
objType
- TODO- Returns:
- the instance key that represents the metadata object obj
-