public class SmushedAllocationSiteInNode extends AbstractTypeInNode
InstanceKey
which represents the set of all allocation sites
of a given type in a CGNode
.
An instance key which represents a unique set for ALL allocation sites of a
given type in a CGNodeContextItem.Value<T>
Constructor and Description |
---|
SmushedAllocationSiteInNode(CGNode node,
IClass type) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Iterator<Pair<CGNode,NewSiteReference>> |
getCreationSites(CallGraph CG)
Get the creation sites of
this , i.e., the statements that may
allocate objects represented by this . |
int |
hashCode() |
String |
toString() |
getConcreteType, getNode
public boolean equals(Object obj)
equals
in class AbstractTypeInNode
public int hashCode()
hashCode
in class AbstractTypeInNode
public String toString()
toString
in class AbstractTypeInNode
public Iterator<Pair<CGNode,NewSiteReference>> getCreationSites(CallGraph CG)
InstanceKey
this
, i.e., the statements that may
allocate objects represented by this
. A creation site is a
pair (n,s), where n is the containing CGNode
in the given
CallGraph
CG
and s is the allocating
NewSiteReference
.