Class MergedObj
java.lang.Object
pascal.taie.analysis.pta.core.heap.Obj
pascal.taie.analysis.pta.core.heap.MergedObj
- All Implemented Interfaces:
Indexable
Represents a set of merged objects.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addRepresentedObj
(Obj obj) This method is useful for type sensitivity.getType()
toString()
Methods inherited from class pascal.taie.analysis.pta.core.heap.Obj
getIndex, isFunctional
-
Constructor Details
-
MergedObj
-
-
Method Details
-
addRepresentedObj
-
getAllocation
- Specified by:
getAllocation
in classObj
- Returns:
- the allocation of the object.
-
getType
-
getContainerMethod
- Specified by:
getContainerMethod
in classObj
- Returns:
- the method containing the allocation site of this object. For some special objects, e.g., string constants, which are not allocated in any method, this API returns an empty Optional.
-
getContainerType
Description copied from class:Obj
This method is useful for type sensitivity.- Specified by:
getContainerType
in classObj
- Returns:
- the type containing the allocation site of this object. For special objects, the return values of this method are also special.
-
toString
-