class AllocationSiteBasedAliasSet extends AliasSetLike[AllocationSite, AllocationSiteBasedAliasSet]
Implementation of an AliasSetLike that is based on allocation sites, i.e., it stores elements of the type AllocationSite.
- Source
- AliasSetLike.scala
- Alphabetic
- By Inheritance
- AllocationSiteBasedAliasSet
- AliasSetLike
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new AllocationSiteBasedAliasSet()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addPointsTo(pointsTo: AllocationSite): Unit
Add the given element to the set of elements the associated org.opalj.br.fpcf.properties.alias.AliasSourceElement can point to.
Add the given element to the set of elements the associated org.opalj.br.fpcf.properties.alias.AliasSourceElement can point to.
- pointsTo
The element to add to the set.
- Definition Classes
- AliasSetLike
- def allPointsTo: Set[AllocationSite]
Returns all elements this set can point to.
Returns all elements this set can point to. Note that the returned set being empty does not imply that the isEmpty method returns
true, as this set can still point to any arbitrary element.- returns
The set of elements the set can point to.
- Definition Classes
- AliasSetLike
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def findTwoIntersections(other: AllocationSiteBasedAliasSet): (Option[AllocationSite], Option[AllocationSite])
Tries to find and return two elements that are in both this set and the given other set as a tuple of options.
Tries to find and return two elements that are in both this set and the given other set as a tuple of options. If only one element is in both sets, the second element is
None. If the sets are disjoint, both elements areNone.This is used instead of computing the whole intersection because more than two elements in the intersection would not change the result of the alias analysis.
Note that this does not check if one of the sets can point to any arbitrary element.
- other
The other set to check for intersections.
- returns
A tuple containing two elements that are in both this set and the other set.
- Definition Classes
- AliasSetLike
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def isEmpty: Boolean
Checks if the set is empty, i.e., it does not contain any elements it can point to and also cannot point to any arbitrary element.
Checks if the set is empty, i.e., it does not contain any elements it can point to and also cannot point to any arbitrary element.
- returns
trueif the set is empty,falseotherwise.
- Definition Classes
- AliasSetLike
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def pointsTo(element: AllocationSite): Boolean
Checks if the set contains the given element.
Checks if the set contains the given element.
- element
The element to check for.
- returns
trueif the set contains the element,falseotherwise.
- Definition Classes
- AliasSetLike
- def pointsToAny: Boolean
Checks if this set can point to any arbitrary element.
Checks if this set can point to any arbitrary element.
- returns
trueif the set can point to any arbitrary element,falseotherwise.
- Definition Classes
- AliasSetLike
- def setPointsToAny(): Unit
Marks that this set can point to any arbitrary element.
Marks that this set can point to any arbitrary element.
- Definition Classes
- AliasSetLike
- def size: Int
Returns the number of elements the set can point to.
Returns the number of elements the set can point to. Note that the size being 0 does not imply that the isEmpty method returns
true, as the set can still point to any arbitrary element.- returns
The number of elements the set can point to.
- Definition Classes
- AliasSetLike
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
- Deprecated