trait Constant_PoolReader extends Constant_PoolAbstractions
Defines a template method to read in a class file's constant pool.
- Alphabetic
- By Inheritance
- Constant_PoolReader
- Constant_PoolAbstractions
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- abstract type CONSTANT_Class_info <: Constant_Pool_Entry
- abstract type CONSTANT_Double_info <: Constant_Pool_Entry
- abstract type CONSTANT_Dynamic_info <: Constant_Pool_Entry
- abstract type CONSTANT_Fieldref_info <: Constant_Pool_Entry
- abstract type CONSTANT_Float_info <: Constant_Pool_Entry
- abstract type CONSTANT_Integer_info <: Constant_Pool_Entry
- abstract type CONSTANT_InterfaceMethodref_info <: Constant_Pool_Entry
- abstract type CONSTANT_InvokeDynamic_info <: Constant_Pool_Entry
- abstract type CONSTANT_Long_info <: Constant_Pool_Entry
- abstract type CONSTANT_MethodHandle_info <: Constant_Pool_Entry
- abstract type CONSTANT_MethodType_info <: Constant_Pool_Entry
- abstract type CONSTANT_Methodref_info <: Constant_Pool_Entry
- abstract type CONSTANT_Module_info <: Constant_Pool_Entry
- abstract type CONSTANT_NameAndType_info <: Constant_Pool_Entry
- abstract type CONSTANT_Package_info <: Constant_Pool_Entry
- abstract type CONSTANT_String_info <: Constant_Pool_Entry
- abstract type CONSTANT_Utf8_info <: Constant_Pool_Entry
- Definition Classes
- Constant_PoolReader → Constant_PoolAbstractions
- abstract type ClassFile
- Definition Classes
- Constant_PoolAbstractions
- final type Constant_Pool = Array[Constant_Pool_Entry]
- Definition Classes
- Constant_PoolAbstractions
- abstract type Constant_Pool_Entry <: ConstantPoolEntry
- Definition Classes
- Constant_PoolAbstractions
- final type Constant_Pool_Index = Int
- Definition Classes
- Constant_PoolAbstractions
- 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
- abstract def CONSTANT_Class_info(i: Int): CONSTANT_Class_info
- Attributes
- protected
- abstract def CONSTANT_Double_info(d: Double): CONSTANT_Double_info
- Attributes
- protected
- abstract def CONSTANT_Dynamic_info(bootstrap_method_attr_index: Int, name_and_type_index: Int): CONSTANT_Dynamic_info
- Attributes
- protected
- abstract def CONSTANT_Fieldref_info(class_index: Int, name_and_type_index: Int): CONSTANT_Fieldref_info
- Attributes
- protected
- abstract def CONSTANT_Float_info(f: Float): CONSTANT_Float_info
- Attributes
- protected
- abstract def CONSTANT_Integer_info(i: Int): CONSTANT_Integer_info
- Attributes
- protected
- abstract def CONSTANT_InterfaceMethodref_info(class_index: Int, name_and_type_index: Int): CONSTANT_InterfaceMethodref_info
- Attributes
- protected
- abstract def CONSTANT_InvokeDynamic_info(bootstrap_method_attr_index: Int, name_and_type_index: Int): CONSTANT_InvokeDynamic_info
- Attributes
- protected
- abstract def CONSTANT_Long_info(l: Long): CONSTANT_Long_info
- Attributes
- protected
- abstract def CONSTANT_MethodHandle_info(reference_kind: Int, reference_index: Int): CONSTANT_MethodHandle_info
- Attributes
- protected
- abstract def CONSTANT_MethodType_info(descriptor_index: Int): CONSTANT_MethodType_info
- Attributes
- protected
- abstract def CONSTANT_Methodref_info(class_index: Int, name_and_type_index: Int): CONSTANT_Methodref_info
- Attributes
- protected
- abstract def CONSTANT_Module_info(name_index: Int): CONSTANT_Module_info
- Attributes
- protected
- abstract def CONSTANT_NameAndType_info(name_index: Int, descriptor_index: Int): CONSTANT_NameAndType_info
- Attributes
- protected
- abstract def CONSTANT_Package_info(name_index: Int): CONSTANT_Package_info
- Attributes
- protected
- abstract def CONSTANT_String_info(i: Int): CONSTANT_String_info
- Attributes
- protected
- abstract def CONSTANT_Utf8_info(r: Array[Byte], s: String): CONSTANT_Utf8_info
- Attributes
- protected
- implicit abstract val constantPoolEntryType: ClassTag[Constant_Pool_Entry]
- Definition Classes
- Constant_PoolAbstractions
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def Constant_Pool(in: DataInputStream): Constant_Pool
- 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_PoolReader → Constant_PoolAbstractions
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def registerDeferredAction(cp: Constant_Pool)(deferredAction: (ClassFile) => ClassFile): Unit
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated