public class DelegatingExtendedHeapModel extends Object implements ExtendedHeapModel
ExtendedHeapModel
based on a
normal HeapModel
Constructor and Description |
---|
DelegatingExtendedHeapModel(HeapModel h) |
public DelegatingExtendedHeapModel(HeapModel h)
public IClassHierarchy getClassHierarchy()
getClassHierarchy
in interface HeapModel
public FilteredPointerKey getFilteredPointerKeyForLocal(CGNode node, int valueNumber, FilteredPointerKey.TypeFilter filter)
getFilteredPointerKeyForLocal
in interface PointerKeyFactory
public InstanceKey getInstanceKeyForAllocation(CGNode node, NewSiteReference allocation)
getInstanceKeyForAllocation
in interface InstanceKeyFactory
public InstanceKey getInstanceKeyForMetadataObject(Object obj, TypeReference objType)
getInstanceKeyForMetadataObject
in interface InstanceKeyFactory
objType
- TODOpublic <T> InstanceKey getInstanceKeyForConstant(TypeReference type, T S)
getInstanceKeyForConstant
in interface InstanceKeyFactory
public InstanceKey getInstanceKeyForMultiNewArray(CGNode node, NewSiteReference allocation, int dim)
getInstanceKeyForMultiNewArray
in interface InstanceKeyFactory
public InstanceKey getInstanceKeyForPEI(CGNode node, ProgramCounter instr, TypeReference type)
getInstanceKeyForPEI
in interface InstanceKeyFactory
public PointerKey getPointerKeyForArrayContents(InstanceKey I)
PointerKeyFactory
getPointerKeyForArrayContents
in interface PointerKeyFactory
I
- an InstanceKey representing an abstract arraypublic PointerKey getPointerKeyForExceptionalReturnValue(CGNode node)
getPointerKeyForExceptionalReturnValue
in interface PointerKeyFactory
public PointerKey getPointerKeyForInstanceField(InstanceKey I, IField field)
getPointerKeyForInstanceField
in interface PointerKeyFactory
public PointerKey getPointerKeyForLocal(CGNode node, int valueNumber)
getPointerKeyForLocal
in interface PointerKeyFactory
public PointerKey getPointerKeyForReturnValue(CGNode node)
getPointerKeyForReturnValue
in interface PointerKeyFactory
public PointerKey getPointerKeyForStaticField(IField f)
getPointerKeyForStaticField
in interface PointerKeyFactory
public Iterator<PointerKey> iteratePointerKeys()
iteratePointerKeys
in interface HeapModel
public PointerKey getPointerKeyForArrayLength(InstanceKey I)
getPointerKeyForArrayLength
in interface ExtendedHeapModel
I
- an InstanceKey representing an abstract array