Class SmushedAllocationSiteInNode
- java.lang.Object
-
- com.ibm.wala.ipa.callgraph.propagation.AbstractTypeInNode
-
- com.ibm.wala.ipa.callgraph.propagation.SmushedAllocationSiteInNode
-
- All Implemented Interfaces:
InstanceKeyWithNode
,ContextItem
,InstanceKey
public class SmushedAllocationSiteInNode extends AbstractTypeInNode
AnInstanceKey
which represents the set of all allocation sites of a given type in aCGNode
. An instance key which represents a unique set for ALL allocation sites of a given type in a CGNode
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.ibm.wala.ipa.callgraph.ContextItem
ContextItem.Value<T>
-
-
Constructor Summary
Constructors Constructor Description SmushedAllocationSiteInNode(CGNode node, IClass type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Iterator<Pair<CGNode,NewSiteReference>>
getCreationSites(CallGraph CG)
Get the creation sites ofthis
, i.e., the statements that may allocate objects represented bythis
.int
hashCode()
String
toString()
-
Methods inherited from class com.ibm.wala.ipa.callgraph.propagation.AbstractTypeInNode
getConcreteType, getNode
-
-
-
-
Method Detail
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in classAbstractTypeInNode
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classAbstractTypeInNode
-
toString
public String toString()
- Specified by:
toString
in classAbstractTypeInNode
-
getCreationSites
public Iterator<Pair<CGNode,NewSiteReference>> getCreationSites(CallGraph CG)
Description copied from interface:InstanceKey
Get the creation sites ofthis
, i.e., the statements that may allocate objects represented bythis
. A creation site is a pair (n,s), where n is the containingCGNode
in the givenCallGraph
CG
and s is the allocatingNewSiteReference
.
-
-