Packages

t

org.opalj.bi.reader

Constant_PoolReader

trait Constant_PoolReader extends Constant_PoolAbstractions

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

Source
Constant_PoolReader.scala
Linear Supertypes
Known Subclasses
AnnotationAttributesBinding, AnnotationsBinding, BootstrapMethods_attributeBinding, BytecodeReaderAndBinding, CachedBytecodeReaderAndBinding, CodeAttributeBinding, CompactLineNumberTable_attributeBinding, ConstantPoolBinding, ConstantValue_attributeBinding, DeferredDynamicConstantResolution, DeferredInvokedynamicResolution, Deprecated_attributeBinding, DynamicConstantRewriting, EnclosingMethod_attributeBinding, Exceptions_attributeBinding, InnerClasses_attributeBinding, InstructionsDeserializer, InvokedynamicRewriting, Java11Framework, Java11Framework, Java11FrameworkWithCaching, Java11FrameworkWithDynamicRewritingAndCaching, Java11LibraryFramework, Java11LibraryFramework, Java16Framework, Java16Framework, Java16FrameworkWithCaching, Java16FrameworkWithDynamicRewritingAndCaching, Java16LibraryFramework, Java16LibraryFramework, Java17Framework, Java17Framework, Java17FrameworkWithCaching, Java17FrameworkWithDynamicRewritingAndCaching, Java17LibraryFramework, Java17LibraryFramework, Java7Framework, Java7Framework, Java7LibraryFramework, Java7LibraryFramework, Java8Framework, Java8Framework, Java8FrameworkWithCaching, Java8FrameworkWithInvokedynamicSupportAndCaching, Java8LibraryFramework, Java8LibraryFramework, Java9Framework, Java9Framework, Java9FrameworkWithCaching, Java9FrameworkWithInvokedynamicSupportAndCaching, Java9LibraryFramework, Java9LibraryFramework, LocalVariableTable_attributeBinding, LocalVariableTypeTable_attributeBinding, MethodParameters_attributeBinding, ModuleMainClass_attributeBinding, ModulePackages_attributeBinding, Module_attributeBinding, NestHost_attributeBinding, NestMembers_attributeBinding, PermittedSubclasses_attributeBinding, Record_attributeBinding, Signature_attributeBinding, SourceDebugExtension_attributeBinding, SourceFile_attributeBinding, StackMapTable_attributeBinding, Synthetic_attributeBinding, TypeAnnotationAttributesBinding, TypeAnnotationsBinding, Unknown_attributeBinding, UnpackedLineNumberTable_attributeBinding, ClassFileReader, Constant_PoolBinding
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. Protected

Type Members

  1. abstract type CONSTANT_Class_info <: Constant_Pool_Entry
  2. abstract type CONSTANT_Double_info <: Constant_Pool_Entry
  3. abstract type CONSTANT_Dynamic_info <: Constant_Pool_Entry
  4. abstract type CONSTANT_Fieldref_info <: Constant_Pool_Entry
  5. abstract type CONSTANT_Float_info <: Constant_Pool_Entry
  6. abstract type CONSTANT_Integer_info <: Constant_Pool_Entry
  7. abstract type CONSTANT_InterfaceMethodref_info <: Constant_Pool_Entry
  8. abstract type CONSTANT_InvokeDynamic_info <: Constant_Pool_Entry
  9. abstract type CONSTANT_Long_info <: Constant_Pool_Entry
  10. abstract type CONSTANT_MethodHandle_info <: Constant_Pool_Entry
  11. abstract type CONSTANT_MethodType_info <: Constant_Pool_Entry
  12. abstract type CONSTANT_Methodref_info <: Constant_Pool_Entry
  13. abstract type CONSTANT_Module_info <: Constant_Pool_Entry
  14. abstract type CONSTANT_NameAndType_info <: Constant_Pool_Entry
  15. abstract type CONSTANT_Package_info <: Constant_Pool_Entry
  16. abstract type CONSTANT_String_info <: Constant_Pool_Entry
  17. abstract type CONSTANT_Utf8_info <: Constant_Pool_Entry
  18. abstract type ClassFile
    Definition Classes
    Constant_PoolAbstractions
  19. final type Constant_Pool = Array[Constant_Pool_Entry]
    Definition Classes
    Constant_PoolAbstractions
  20. abstract type Constant_Pool_Entry <: ConstantPoolEntry
    Definition Classes
    Constant_PoolAbstractions
  21. final type Constant_Pool_Index = Int
    Definition Classes
    Constant_PoolAbstractions
  22. type DeferredActionsStore = Buffer[(ClassFile) => ClassFile] with Constant_Pool_Entry

    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
    Attributes
    protected
  2. abstract def CONSTANT_Double_info(d: Double): CONSTANT_Double_info
    Attributes
    protected
  3. abstract def CONSTANT_Dynamic_info(bootstrap_method_attr_index: Int, name_and_type_index: Int): CONSTANT_Dynamic_info
    Attributes
    protected
  4. abstract def CONSTANT_Fieldref_info(class_index: Int, name_and_type_index: Int): CONSTANT_Fieldref_info
    Attributes
    protected
  5. abstract def CONSTANT_Float_info(f: Float): CONSTANT_Float_info
    Attributes
    protected
  6. abstract def CONSTANT_Integer_info(i: Int): CONSTANT_Integer_info
    Attributes
    protected
  7. abstract def CONSTANT_InterfaceMethodref_info(class_index: Int, name_and_type_index: Int): CONSTANT_InterfaceMethodref_info
    Attributes
    protected
  8. abstract def CONSTANT_InvokeDynamic_info(bootstrap_method_attr_index: Int, name_and_type_index: Int): CONSTANT_InvokeDynamic_info
    Attributes
    protected
  9. abstract def CONSTANT_Long_info(l: Long): CONSTANT_Long_info
    Attributes
    protected
  10. abstract def CONSTANT_MethodHandle_info(reference_kind: Int, reference_index: Int): CONSTANT_MethodHandle_info
    Attributes
    protected
  11. abstract def CONSTANT_MethodType_info(descriptor_index: Int): CONSTANT_MethodType_info
    Attributes
    protected
  12. abstract def CONSTANT_Methodref_info(class_index: Int, name_and_type_index: Int): CONSTANT_Methodref_info
    Attributes
    protected
  13. abstract def CONSTANT_Module_info(name_index: Int): CONSTANT_Module_info
    Attributes
    protected
  14. abstract def CONSTANT_NameAndType_info(name_index: Int, descriptor_index: Int): CONSTANT_NameAndType_info
    Attributes
    protected
  15. abstract def CONSTANT_Package_info(name_index: Int): CONSTANT_Package_info
    Attributes
    protected
  16. abstract def CONSTANT_String_info(i: Int): CONSTANT_String_info
    Attributes
    protected
  17. abstract def CONSTANT_Utf8_info(r: Array[Byte], s: String): CONSTANT_Utf8_info
    Attributes
    protected
  18. implicit abstract val constantPoolEntryType: ClassTag[Constant_Pool_Entry]
    Definition Classes
    Constant_PoolAbstractions
  19. abstract def createDeferredActionsStore(): DeferredActionsStore

    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
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def Constant_Pool(in: DataInputStream): Constant_Pool
  5. def applyDeferredActions(cp: Constant_Pool, classFile: ClassFile): ClassFile

    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
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. def registerDeferredAction(cp: Constant_Pool)(deferredAction: (ClassFile) => ClassFile): Unit
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped