Trait

org.opalj.bi.reader

Constant_PoolReader

Related Doc: package reader

Permalink

trait Constant_PoolReader extends Constant_PoolAbstractions

Defines a template method to read in a class file's constant pool.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Constant_PoolReader
  2. Constant_PoolAbstractions
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type CONSTANT_Class_info <: Constant_Pool_Entry

    Permalink
  2. abstract type CONSTANT_Double_info <: Constant_Pool_Entry

    Permalink
  3. abstract type CONSTANT_Fieldref_info <: Constant_Pool_Entry

    Permalink
  4. abstract type CONSTANT_Float_info <: Constant_Pool_Entry

    Permalink
  5. abstract type CONSTANT_Integer_info <: Constant_Pool_Entry

    Permalink
  6. abstract type CONSTANT_InterfaceMethodref_info <: Constant_Pool_Entry

    Permalink
  7. abstract type CONSTANT_InvokeDynamic_info <: Constant_Pool_Entry

    Permalink
  8. abstract type CONSTANT_Long_info <: Constant_Pool_Entry

    Permalink
  9. abstract type CONSTANT_MethodHandle_info <: Constant_Pool_Entry

    Permalink
  10. abstract type CONSTANT_MethodType_info <: Constant_Pool_Entry

    Permalink
  11. abstract type CONSTANT_Methodref_info <: Constant_Pool_Entry

    Permalink
  12. abstract type CONSTANT_NameAndType_info <: Constant_Pool_Entry

    Permalink
  13. abstract type CONSTANT_String_info <: Constant_Pool_Entry

    Permalink
  14. abstract type CONSTANT_Utf8_info <: Constant_Pool_Entry

    Permalink
  15. abstract type ClassFile

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

    Permalink
  17. abstract type Constant_Pool_Entry <: ConstantPoolEntry

    Permalink
  18. type Constant_Pool_Index = Int

    Permalink
    Definition Classes
    Constant_PoolAbstractions
  19. 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

Abstract Value Members

  1. abstract def CONSTANT_Class_info(i: Int): CONSTANT_Class_info

    Permalink
    Attributes
    protected
  2. abstract def CONSTANT_Double_info(d: Double): CONSTANT_Double_info

    Permalink
    Attributes
    protected
  3. abstract def CONSTANT_Fieldref_info(class_index: Int, name_and_type_index: Int): CONSTANT_Fieldref_info

    Permalink
    Attributes
    protected
  4. abstract def CONSTANT_Float_info(f: Float): CONSTANT_Float_info

    Permalink
    Attributes
    protected
  5. abstract def CONSTANT_Integer_info(i: Int): CONSTANT_Integer_info

    Permalink
    Attributes
    protected
  6. abstract def CONSTANT_InterfaceMethodref_info(class_index: Int, name_and_type_index: Int): CONSTANT_InterfaceMethodref_info

    Permalink
    Attributes
    protected
  7. abstract def CONSTANT_InvokeDynamic_info(bootstrap_method_attr_index: Int, name_and_type_index: Int): CONSTANT_InvokeDynamic_info

    Permalink
    Attributes
    protected
  8. abstract def CONSTANT_Long_info(l: Long): CONSTANT_Long_info

    Permalink
    Attributes
    protected
  9. abstract def CONSTANT_MethodHandle_info(reference_kind: Int, reference_index: Int): CONSTANT_MethodHandle_info

    Permalink
    Attributes
    protected
  10. abstract def CONSTANT_MethodType_info(descriptor_index: Int): CONSTANT_MethodType_info

    Permalink
    Attributes
    protected
  11. abstract def CONSTANT_Methodref_info(class_index: Int, name_and_type_index: Int): CONSTANT_Methodref_info

    Permalink
    Attributes
    protected
  12. abstract def CONSTANT_NameAndType_info(name_index: Int, descriptor_index: Int): CONSTANT_NameAndType_info

    Permalink
    Attributes
    protected
  13. abstract def CONSTANT_String_info(i: Int): CONSTANT_String_info

    Permalink
    Attributes
    protected
  14. abstract def CONSTANT_Utf8_info(r: Array[Byte], s: String): CONSTANT_Utf8_info

    Permalink
    Attributes
    protected
  15. implicit abstract val Constant_Pool_EntryManifest: ClassTag[Constant_Pool_Entry]

    Permalink
  16. abstract def createDeferredActionsStore(): DeferredActionsStore

    Permalink

    Creates a storage area for functions that will be called after the class file was completely loaded.

    Creates a storage area for functions that will be called after the class file was completely loaded. This makes it possible to register functions that are newly created for a special class file object to perform actions related to that specific class file object. For further information study the resolving process of invokedynamic instructions.

    Attributes
    protected[this]

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 Constant_Pool(in: DataInputStream): Constant_Pool

    Permalink
  5. 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_PoolReaderConstant_PoolAbstractions
  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 registerDeferredAction(cp: Constant_Pool)(deferredAction: (ClassFile) ⇒ ClassFile): Unit

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

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

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

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

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

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

Inherited from Constant_PoolAbstractions

Inherited from AnyRef

Inherited from Any

Ungrouped