Class ConcreteTypeKey
java.lang.Object
com.ibm.wala.ipa.callgraph.propagation.ConcreteTypeKey
- All Implemented Interfaces:
ContextItem, InstanceKey
An instance key which represents a unique set for each concrete type.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ContextItem
ContextItem.Value<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanFor now, we assert that each InstanceKey represents a set of classes which are all of the same concrete type (modulo the fact that all arrays of references are considered concrete type []Object;)Get the creation sites ofthis, i.e., the statements that may allocate objects represented bythis.static InstanceKey[]getType()inthashCode()toString()
-
Constructor Details
-
ConcreteTypeKey
-
-
Method Details
-
equals
-
hashCode
-
toString
-
getType
-
getConcreteType
Description copied from interface:InstanceKeyFor now, we assert that each InstanceKey represents a set of classes which are all of the same concrete type (modulo the fact that all arrays of references are considered concrete type []Object;)- Specified by:
getConcreteTypein interfaceInstanceKey
-
getInstanceKeysForPEI
- Parameters:
pei- a PEI instructioncha- governing class hierarchy- Returns:
- an array of ConcreteTypeKeys that represent the exceptions the PEI may throw.
- Throws:
IllegalArgumentException- if pei is null
-
getCreationSites
Description copied from interface:InstanceKeyGet 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 containingCGNodein the givenCallGraphCGand s is the allocatingNewSiteReference.- Specified by:
getCreationSitesin interfaceInstanceKey
-