Trait

org.opalj.bi.reader

AttributesReader

Related Doc: package reader

Permalink

trait AttributesReader extends AttributesAbstractions with Constant_PoolAbstractions with Unknown_attributeAbstractions

Trait that implements a template method to read in the attributes of a class, method_info, field_info or code_attribute structure.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AttributesReader
  2. Unknown_attributeAbstractions
  3. Constant_PoolAbstractions
  4. AttributesAbstractions
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type Attribute >: Null

    Permalink
    Definition Classes
    AttributesAbstractions
  2. type Attributes = Seq[Attribute]

    Permalink
    Definition Classes
    AttributesAbstractions
  3. abstract type CONSTANT_Utf8_info <: Constant_Pool_Entry

    Permalink
  4. abstract type ClassFile

    Permalink
    Definition Classes
    Constant_PoolAbstractions
  5. type Constant_Pool = Array[Constant_Pool_Entry]

    Permalink
  6. abstract type Constant_Pool_Entry <: ConstantPoolEntry

    Permalink
  7. type Constant_Pool_Index = Int

    Permalink
    Definition Classes
    Constant_PoolAbstractions
  8. type DeferredActionsStore = Buffer[(ClassFile) ⇒ ClassFile] with Constant_Pool_Entry

    Permalink

    A DeferredActionsStore stores all functions that need to perform post load actions.

    A DeferredActionsStore stores all functions that need to perform post load actions.

    One example is the resolution of references to attributes. (The constant pool is the only structure that is passed around and hence it is the only place where to store information/functions related to a specific class file).

    Definition Classes
    Constant_PoolAbstractions
  9. abstract type Unknown_attribute <: Attribute

    Permalink

Abstract Value Members

  1. implicit abstract val AttributeManifest: ClassTag[Attribute]

    Permalink
    Definition Classes
    AttributesAbstractions
  2. abstract def Unknown_attribute(ap: AttributeParent, cp: Constant_Pool, attribute_name_index: Int, in: DataInputStream): Unknown_attribute

    Permalink

    This factory method is called if an attribute is encountered that is unknown.

    This factory method is called if an attribute is encountered that is unknown. In general, such unknown attributes are represented by the Unknown_attribute class. However, if no representation of the unknown attribute is needed this method can return null - after reading (skipping) all bytes belonging to this attribute. If null is returned all information regarding this attribute are thrown away.

  3. abstract def applyDeferredActions(cp: Constant_Pool, classFile: ClassFile): ClassFile

    Permalink

    This method is called/needs to be called after the class file was completely loaded to perform class file specific transformations.

    This method is called/needs to be called after the class file was completely loaded to perform class file specific transformations.

    Definition Classes
    Constant_PoolAbstractions

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def Attribute(ap: AttributeParent, cp: Constant_Pool, in: DataInputStream): Attribute

    Permalink
  5. def Attributes(ap: AttributeParent, cp: Constant_Pool, in: DataInputStream): Attributes

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. def registerAttributeReader(reader: (String, (AttributeParent, Constant_Pool, Constant_Pool_Index, DataInputStream) ⇒ Attribute)): Unit

    Permalink
  18. def registerAttributesPostProcessor(p: (Attributes) ⇒ Attributes): Unit

    Permalink

    Registers a new processor for the list of all attributes of a given class file element (class, field, method, code).

    Registers a new processor for the list of all attributes of a given class file element (class, field, method, code). This can be used to post-process attributes. E.g., to merge multiple line number tables if they exist or to link attributes that have strong dependencies. E.g., (in Java 8) the localvar_target structure of the Runtime(In)VisibleTypeAnnotations attribute has a reference in the local variable table attribute.

  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Constant_PoolAbstractions

Inherited from AttributesAbstractions

Inherited from AnyRef

Inherited from Any

Ungrouped