class DefinitionSites extends AnyRef
Holds a mutable map of DefinitionSite objects to ensure unique identities. The map is filled on-the-fly while querying.
Thread Safety
This class is thread-safe.
- Source
- DefinitionSites.scala
- Alphabetic
- By Inheritance
- DefinitionSites
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DefinitionSites(project: SomeProject)
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 apply(m: Method, pc: Int): DefinitionSite
Returns the DefinitionSite instance for the given program counter and given method.
Returns the DefinitionSite instance for the given program counter and given method. The definition site is either retrieved from the map (if present) or a new one is created and stored into the map.
- 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()
- val definitionSites: ConcurrentHashMap[DefinitionSite, DefinitionSite]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def getAllocationSites: Seq[DefinitionSite]
Computes all DefinitionSites that correspond to an allocation in the project.
Computes all DefinitionSites that correspond to an allocation in the project. I.e. all definition sites corresponding to org.opalj.br.instructions.NEW, org.opalj.br.instructions.NEWARRAY, org.opalj.br.instructions.ANEWARRAY or org.opalj.br.instructions.MULTIANEWARRAY instructions.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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()
- val project: SomeProject
- 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