public class AllocationContextSensitiveObject extends ContextSensitiveAnalysisObject
AnalysisObject.AnalysisObjectKind| Modifier and Type | Field and Description |
|---|---|
protected AnalysisContext |
allocationContext
The context of the heap object.
|
protected BytecodePosition |
allocationLabel
Method and bytecode index of allocation site.
|
arrayElementsTypeStore, EMPTY_ARRAY, id, instanceFieldsTypeStore, kind, merged, objectsTypeComparator, type| Constructor and Description |
|---|
AllocationContextSensitiveObject(PointsToAnalysis bb,
AnalysisType type,
BytecodePosition allocationSite,
AnalysisContext context)
Creates the allocation sensitive object corresponding to a clone for an allocation site.
|
| Modifier and Type | Method and Description |
|---|---|
AnalysisContext |
allocationContext() |
BytecodePosition |
allocationLabel() |
ArrayElementsTypeFlow |
getArrayElementsFlow(PointsToAnalysis bb,
boolean isStore)
Returns the array elements type flow corresponding to an analysis object of array type.
|
String |
toString() |
getAllObjectsMergedWith, getInstanceFieldFilterFlow, getInstanceFieldFlow, linkFieldFlows, mergeInstanceFieldFlow, mergeInstanceFieldsFlows, noteMergeasConstant, compareTo, equals, getArrayElementsTypeStore, getId, getInstanceFieldFlow, getTypeId, getUnsafeWriteSinkFrozenFilterFlow, hashCode, isAllocationContextSensitiveObject, isContextInsensitiveObject, isEmptyObjectArrayConstant, isEmptyObjectArrayConstant, isObjectArray, isPrimitiveArray, prefix, typeprotected final BytecodePosition allocationLabel
protected final AnalysisContext allocationContext
public AllocationContextSensitiveObject(PointsToAnalysis bb, AnalysisType type, BytecodePosition allocationSite, AnalysisContext context)
public BytecodePosition allocationLabel()
public AnalysisContext allocationContext()
public ArrayElementsTypeFlow getArrayElementsFlow(PointsToAnalysis bb, boolean isStore)
AnalysisObjectgetArrayElementsFlow in class ContextSensitiveAnalysisObjectpublic String toString()
toString in class AnalysisObject