Packages

  • package root
    Definition Classes
    root
  • package org
    Definition Classes
    root
  • package opalj

    OPAL is a Scala-based framework for the static analysis, manipulation and creation of Java bytecode.

    OPAL is a Scala-based framework for the static analysis, manipulation and creation of Java bytecode. OPAL is designed with performance, scalability and adaptability in mind.

    Its main components are:

    • a library (Common) which provides generally useful data-structures and algorithms for static analyses.
    • a framework for implementing lattice based static analyses (Static Analysis Infrastructure)
    • a framework for parsing Java bytecode (Bytecode Infrastructure - org.opalj.bi) that can be used to create arbitrary representations.
    • a library to create a one-to-one in-memory representation of Java bytecode (Bytecode Disassembler - org.opalj.da).
    • a library to convert this representation to Java class files (Bytecode Creator - org.opalj.bc).
    • a library to create a representation of Java bytecode that facilitates writing simple static analyses (Bytecode Representation - org.opalj.br).
    • a library to create a stackless, three-address code representation of Java bytecode that facilitates writing complex static analyses (Three Address Code - org.opalj.tac).
    • a scalable, easily customizable framework for the abstract interpretation of Java bytecode (Abstract Interpretation Framework - org.opalj.ai).
    • a library to extract dependencies between code elements (Dependencies Extraction - org.opalj.de) and to facilitate checking architecture definitions (Architecture Validation - org.opalj.av).
    • a library for the lightweight manipulation and creation of Java bytecode (Bytecode Assembler - org.opalj.ba).
    • a library for parsing Android packages (APK - org.opalj.apk).
    • libraries for writing static analyses using the interprocedural finite distributive subset (IFDS - org.opalj.ifds) and interprocedural distributive environment (IDE - org.opal.ide) algorithms.

    General Design Decisions

    Thread Safety

    Unless explicitly noted, OPAL is thread safe. I.e., the classes defined by OPAL can be considered to be thread safe unless otherwise stated. (For example, it is possible to read and process class files concurrently without explicit synchronization on the client side.)

    No null Values

    Unless explicitly noted, OPAL does not null values I.e., fields that are accessible will never contain null values and methods will never return null. If a method accepts null as a value for a parameter or returns a null value it is always explicitly documented. In general, the behavior of methods that are passed null values is undefined unless explicitly documented.

    No Typecasts for Collections

    For efficiency reasons, OPAL sometimes uses mutable data-structures internally. After construction time, these data-structures are generally represented using their generic interfaces (e.g., scala.collection.{Set,Map}). However, a downcast (e.g., to add/remove elements) is always forbidden as it would effectively prevent thread-safety.

    Assertions

    OPAL makes heavy use of Scala's Assertion Facility to facilitate writing correct code. Hence, for production builds (after thorough testing(!)) it is highly recommend to build OPAL again using -Xdisable-assertions.

    Definition Classes
    org
  • package br

    In this representation of Java bytecode references to a Java class file's constant pool and to attributes are replaced by direct references to the corresponding constant pool entries.

    In this representation of Java bytecode references to a Java class file's constant pool and to attributes are replaced by direct references to the corresponding constant pool entries. This facilitates developing analyses and fosters comprehension.

    Based on the fact that indirect references to constant pool entries are resolved and replaced by direct references this representation is called the resolved representation.

    This representation of Java bytecode is considered as OPAL's standard representation for writing simple Scala based analyses. This representation is engineered such that it facilitates writing analyses that use pattern matching.

    Definition Classes
    opalj
  • package fpcf
    Definition Classes
    br
  • package properties
    Definition Classes
    fpcf
  • package alias
    Definition Classes
    properties
  • package cg
    Definition Classes
    properties
  • package fieldaccess
    Definition Classes
    properties
  • CompleteFieldAccesses
  • DirectFieldAccesses
  • DirectFieldAccessesBase
  • FieldAccessInformation
  • FieldAccessInformationPropertyMetaInformation
  • FieldAccesses
  • FieldReadAccessInformation
  • FieldWriteAccessInformation
  • IncompleteFieldAccesses
  • IndirectFieldAccesses
  • IndirectFieldAccessesBase
  • MethodFieldAccessInformation
  • MethodFieldAccessInformationPropertyMetaInformation
  • MethodFieldReadAccessInformation
  • MethodFieldWriteAccessInformation
  • NoFieldReadAccessInformation
  • NoFieldWriteAccessInformation
  • NoMethodFieldReadAccessInformation
  • NoMethodFieldWriteAccessInformation
  • package immutability
    Definition Classes
    properties
  • package pointsto
    Definition Classes
    properties
  • package string
    Definition Classes
    properties

package fieldaccess

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. fieldaccess
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type AccessParameter = Option[(ValueInformation, PCs)]
  2. type AccessParameters = IntMap[IntMap[AccessParameter]]
  3. type AccessReceiver = Option[(ValueInformation, PCs)]
  4. type AccessReceivers = IntMap[IntMap[AccessReceiver]]
  5. trait CompleteFieldAccesses extends FieldAccesses
  6. class DirectFieldAccesses extends DirectFieldAccessesBase with IncompleteFieldAccesses
  7. trait DirectFieldAccessesBase extends CompleteFieldAccesses
  8. type FieldAccess = Long
  9. sealed trait FieldAccessInformation[S <: FieldAccessInformation[S]] extends OrderedProperty with FieldAccessInformationPropertyMetaInformation[S]

    Describes all read and write accesses to a org.opalj.br.DeclaredField.

  10. sealed trait FieldAccessInformationPropertyMetaInformation[S <: FieldAccessInformation[S]] extends PropertyMetaInformation
  11. sealed trait FieldAccesses extends AnyRef

    A convenience class for field access collection.

    A convenience class for field access collection. Manages direct, indirect and incomplete field access sites and allows the analyses to retrieve the required org.opalj.fpcf.PartialResults for FieldReadAccessInformation, FieldWriteAccessInformation, MethodFieldReadAccessInformation and MethodFieldWriteAccessInformation.

  12. case class FieldReadAccessInformation(encodedDirectAccesses: LongLinkedSet, encodedDirectAccessReceivers: LongMap[AccessReceiver], encodedIndirectAccesses: LongLinkedSet, encodedIndirectAccessReceivers: LongMap[AccessReceiver]) extends FieldAccessInformation[FieldReadAccessInformation] with FieldAccessInformationPropertyMetaInformation[FieldReadAccessInformation] with Product with Serializable
  13. case class FieldWriteAccessInformation(encodedDirectAccesses: LongLinkedSet, encodedDirectAccessReceivers: LongMap[AccessReceiver], encodedDirectAccessParameters: LongMap[AccessParameter], encodedIndirectAccesses: LongLinkedSet, encodedIndirectAccessReceivers: LongMap[AccessReceiver], encodedIndirectAccessParameters: LongMap[AccessParameter]) extends FieldAccessInformation[FieldWriteAccessInformation] with FieldAccessInformationPropertyMetaInformation[FieldWriteAccessInformation] with Product with Serializable
  14. trait IncompleteFieldAccesses extends FieldAccesses
  15. class IndirectFieldAccesses extends IndirectFieldAccessesBase with IncompleteFieldAccesses
  16. trait IndirectFieldAccessesBase extends CompleteFieldAccesses
  17. sealed trait MethodFieldAccessInformation[S <: MethodFieldAccessInformation[S]] extends OrderedProperty with MethodFieldAccessInformationPropertyMetaInformation[S]

    Describes all read and write accesses to a org.opalj.br.Field.

  18. sealed trait MethodFieldAccessInformationPropertyMetaInformation[S <: MethodFieldAccessInformation[S]] extends PropertyMetaInformation
  19. case class MethodFieldReadAccessInformation(_incompleteAccessSites: IntMap[PCs], _directAccessedFields: IntMap[IntMap[IntList]], _directAccessedReceiversByField: IntMap[IntMap[IntMap[AccessReceiver]]], _indirectAccessedFields: IntMap[IntMap[IntList]], _indirectAccessedReceiversByField: IntMap[IntMap[IntMap[AccessReceiver]]]) extends MethodFieldAccessInformation[MethodFieldReadAccessInformation] with MethodFieldAccessInformationPropertyMetaInformation[MethodFieldReadAccessInformation] with Product with Serializable
  20. case class MethodFieldWriteAccessInformation(_incompleteAccessSites: IntMap[PCs], _directAccessedFields: IntMap[IntMap[IntList]], _directAccessedReceiversByField: IntMap[IntMap[IntMap[AccessReceiver]]], _directAccessedParametersByField: IntMap[IntMap[IntMap[AccessParameter]]], _indirectAccessedFields: IntMap[IntMap[IntList]], _indirectAccessedReceiversByField: IntMap[IntMap[IntMap[AccessReceiver]]], _indirectAccessedParametersByField: IntMap[IntMap[IntMap[AccessParameter]]]) extends MethodFieldAccessInformation[MethodFieldWriteAccessInformation] with MethodFieldAccessInformationPropertyMetaInformation[MethodFieldWriteAccessInformation] with Product with Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped