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 Details

    • 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)
      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