package common
- Alphabetic
- Public
- Protected
Type Members
- case class DefinitionSite(method: Method, pc: Int) extends DefinitionSiteLike with Product with Serializable
Identifies a definition site object in a method in the bytecode using its program counter and the corresponding use-sites.
Identifies a definition site object in a method in the bytecode using its program counter and the corresponding use-sites. It acts as entity for the org.opalj.br.fpcf.properties.EscapeProperty and the computing analyses. A definition-site can be for example an allocation, the result of a function call, or the result of a field-retrieval.
- trait DefinitionSiteLike extends AnyRef
Identifies a definition site object in a method in the bytecode using its program counter.
Identifies a definition site object in a method in the bytecode using its program counter. It corresponds to the org.opalj.br.fpcf.properties.EscapeProperty and the computing analyses. Concrete definition sites are usually associated with DefinitionSite. However, to compute the org.opalj.br.fpcf.properties.FieldLocality it is necessary to represent definition site objects that have a reduced usedBy set (PutField's are removed here). Therefore, this trait acts as a common interface for such objects.
- class DefinitionSites extends AnyRef
Holds a mutable map of DefinitionSite objects to ensure unique identities.
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.
Value Members
- object DefinitionSitesKey extends ProjectInformationKey[DefinitionSites, Nothing]
The org.opalj.br.analyses.ProjectInformationKey to retrieve the DefinitionSites object for a project.