public class ClassBasedInstanceKeys extends java.lang.Object implements InstanceKeyFactory
| Constructor and Description |
|---|
ClassBasedInstanceKeys(AnalysisOptions options,
IClassHierarchy cha) |
| Modifier and Type | Method and Description |
|---|---|
IClassHierarchy |
getClassHierarchy() |
InstanceKey |
getInstanceKeyForAllocation(CGNode node,
NewSiteReference allocation) |
<T> InstanceKey |
getInstanceKeyForConstant(TypeReference type,
T S) |
InstanceKey |
getInstanceKeyForMetadataObject(java.lang.Object obj,
TypeReference objType) |
InstanceKey |
getInstanceKeyForMultiNewArray(CGNode node,
NewSiteReference allocation,
int dim)
dim == 0 represents the first dimension, e.g., the [Object; instances in [[Object; e.g., the
[[Object; instances in [[[Object;
|
InstanceKey |
getInstanceKeyForPEI(CGNode node,
ProgramCounter peiLoc,
TypeReference type) |
public ClassBasedInstanceKeys(AnalysisOptions options, IClassHierarchy cha)
public InstanceKey getInstanceKeyForAllocation(CGNode node, NewSiteReference allocation)
getInstanceKeyForAllocation in interface InstanceKeyFactorypublic InstanceKey getInstanceKeyForMultiNewArray(CGNode node, NewSiteReference allocation, int dim)
dim == 1 represents the second dimension, e.g., the [Object instances in [[[Object;
getInstanceKeyForMultiNewArray in interface InstanceKeyFactorypublic <T> InstanceKey getInstanceKeyForConstant(TypeReference type, T S)
getInstanceKeyForConstant in interface InstanceKeyFactorypublic InstanceKey getInstanceKeyForPEI(CGNode node, ProgramCounter peiLoc, TypeReference type)
getInstanceKeyForPEI in interface InstanceKeyFactorypublic InstanceKey getInstanceKeyForMetadataObject(java.lang.Object obj, TypeReference objType)
getInstanceKeyForMetadataObject in interface InstanceKeyFactoryobjType - TODOpublic IClassHierarchy getClassHierarchy()