Interface InstanceKeyFactory
-
- All Known Subinterfaces:
AstHeapModel,ExtendedHeapModel,HeapModel
- All Known Implementing Classes:
AllocationSiteInNodeFactory,AstSSAPropagationCallGraphBuilder,ClassBasedInstanceKeys,CrossLanguageInstanceKeys,CrossLanguageSSAPropagationCallGraphBuilder,DelegatingExtendedHeapModel,DexSSAPropagationCallGraphBuilder,nCFABuilder,PointerAnalysisImpl.HModel,ScopeMappingInstanceKeys,SmushedAllocationSiteInstanceKeys,SSAPropagationCallGraphBuilder,TypeBasedHeapModel,ZeroXCFABuilder,ZeroXContainerCFABuilder,ZeroXInstanceKeys
public interface InstanceKeyFactoryAn object that abstracts how to model instances in the heap.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceKeygetInstanceKeyForAllocation(CGNode node, NewSiteReference allocation)<T> InstanceKeygetInstanceKeyForConstant(TypeReference type, T S)InstanceKeygetInstanceKeyForMetadataObject(Object obj, TypeReference objType)InstanceKeygetInstanceKeyForMultiNewArray(CGNode node, NewSiteReference allocation, int dim)InstanceKeygetInstanceKeyForPEI(CGNode node, ProgramCounter instr, TypeReference type)
-
-
-
Method Detail
-
getInstanceKeyForAllocation
InstanceKey getInstanceKeyForAllocation(CGNode node, NewSiteReference allocation)
- Returns:
- the instance key that represents a particular allocation
-
getInstanceKeyForMultiNewArray
InstanceKey getInstanceKeyForMultiNewArray(CGNode node, NewSiteReference allocation, int dim)
- Returns:
- the instance key that represents the array allocated as the dim_th dimension at a particular allocation
-
getInstanceKeyForConstant
<T> InstanceKey getInstanceKeyForConstant(TypeReference type, T S)
- Returns:
- the instance key that represents a constant with value S, when considered as a particular type
-
getInstanceKeyForPEI
InstanceKey getInstanceKeyForPEI(CGNode node, ProgramCounter instr, TypeReference type)
- Parameters:
node-instr-type-- Returns:
- the instance key that represents the exception of type _type_ thrown by a particular PEI.
-
getInstanceKeyForMetadataObject
InstanceKey getInstanceKeyForMetadataObject(Object obj, TypeReference objType)
- Parameters:
objType- TODO- Returns:
- the instance key that represents the metadata object obj
-
-