trait StackMapTable_attributeBinding extends StackMapTable_attributeReader with StackMapFrameReader with VerificationTypeInfoReader with ConstantPoolBinding with AttributeBinding
Provides the factory methods to create a stack map table attribute and its entries.
- Alphabetic
- By Inheritance
- StackMapTable_attributeBinding
- AttributeBinding
- ConstantPoolBinding
- Constant_PoolReader
- VerificationTypeInfoReader
- StackMapFrameReader
- StackMapTable_attributeReader
- AttributeReader
- AttributesAbstractions
- Constant_PoolAbstractions
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type AppendFrame = br.AppendFrame
- type Attribute = br.Attribute
Specifying a lower bound is necessary to implement a generic
skipAttribute
method.Specifying a lower bound is necessary to implement a generic
skipAttribute
method.- Definition Classes
- AttributeBinding → AttributesAbstractions
- type Attributes = ArraySeq[Attribute]
- Definition Classes
- AttributesAbstractions
- type CONSTANT_Class_info = cp.CONSTANT_Class_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- type CONSTANT_Double_info = cp.CONSTANT_Double_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- type CONSTANT_Dynamic_info = cp.CONSTANT_Dynamic_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- type CONSTANT_Fieldref_info = cp.CONSTANT_Fieldref_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- type CONSTANT_Float_info = cp.CONSTANT_Float_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- type CONSTANT_Integer_info = cp.CONSTANT_Integer_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- type CONSTANT_InterfaceMethodref_info = cp.CONSTANT_InterfaceMethodref_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- type CONSTANT_InvokeDynamic_info = cp.CONSTANT_InvokeDynamic_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- type CONSTANT_Long_info = cp.CONSTANT_Long_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- type CONSTANT_MethodHandle_info = cp.CONSTANT_MethodHandle_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- type CONSTANT_MethodType_info = cp.CONSTANT_MethodType_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- type CONSTANT_Methodref_info = cp.CONSTANT_Methodref_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- type CONSTANT_Module_info = cp.CONSTANT_Module_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- type CONSTANT_NameAndType_info = cp.CONSTANT_NameAndType_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- type CONSTANT_Package_info = cp.CONSTANT_Package_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- type CONSTANT_String_info = cp.CONSTANT_String_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- type CONSTANT_Utf8_info = cp.CONSTANT_Utf8_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader → Constant_PoolAbstractions
- type ChopFrame = br.ChopFrame
- abstract type ClassFile <: br.ClassFile
- Definition Classes
- ConstantPoolBinding → Constant_PoolAbstractions
- final type Constant_Pool = Array[Constant_Pool_Entry]
- Definition Classes
- Constant_PoolAbstractions
- type Constant_Pool_Entry = cp.Constant_Pool_Entry
- Definition Classes
- ConstantPoolBinding → 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
- type DoubleVariableInfo = br.VerificationTypeInfo
- type FloatVariableInfo = br.VerificationTypeInfo
- type FullFrame = br.FullFrame
- type IntegerVariableInfo = br.VerificationTypeInfo
- type LongVariableInfo = br.VerificationTypeInfo
- type NullVariableInfo = br.VerificationTypeInfo
- type ObjectVariableInfo = br.ObjectVariableInfo
- type SameFrame = br.SameFrame
- type SameFrameExtended = br.SameFrameExtended
- type SameLocals1StackItemFrame = br.SameLocals1StackItemFrame
- type SameLocals1StackItemFrameExtended = br.SameLocals1StackItemFrameExtended
- type StackMapFrame = br.StackMapFrame
- Definition Classes
- StackMapTable_attributeBinding → StackMapFrameReader → StackMapTable_attributeReader
- type StackMapFrames = ArraySeq[StackMapFrame]
- Definition Classes
- StackMapTable_attributeReader
- type StackMapTable_attribute = StackMapTable
- Definition Classes
- StackMapTable_attributeBinding → StackMapTable_attributeReader
- type TopVariableInfo = br.VerificationTypeInfo
- type UninitializedThisVariableInfo = br.VerificationTypeInfo
- type UninitializedVariableInfo = br.UninitializedVariableInfo
- type VerificationTypeInfo = br.VerificationTypeInfo
- Definition Classes
- StackMapTable_attributeBinding → VerificationTypeInfoReader → StackMapFrameReader
- type VerificationTypeInfoLocals = ArraySeq[VerificationTypeInfo]
- Definition Classes
- StackMapFrameReader
- type VerificationTypeInfoStack = ArraySeq[VerificationTypeInfo]
- Definition Classes
- StackMapFrameReader
Abstract Value Members
- abstract def registerAttributeReader(reader: (String, (Constant_Pool, AttributeParent, Constant_Pool_Index, Constant_Pool_Index, Constant_Pool_Index, DataInputStream) => Attribute)): Unit
Called (typically by subclasses) to register a reader for a concrete attribute.
Called (typically by subclasses) to register a reader for a concrete attribute. This function is intended to be provided/implemented by an
AttributesReader
that manages the attributes of a class, method_info, field_info or code_attribute structure.- reader
A map where the key is the name of an attribute and the value is a function that given a data input stream that is positioned directly at the beginning of the attribute, the constant pool, the index of the attribute's name and the parent of the attribute reads in the attribute and returns it.
- Definition Classes
- AttributeReader
- abstract def registerAttributesPostProcessor(p: (Attributes) => Attributes): Unit
Registers a new processor for the list of all attributes of a given class file structure (class, field_info, method_info, code_attribute).
Registers a new processor for the list of all attributes of a given class file structure (class, field_info, method_info, code_attribute). This can be used to post-process attributes. E.g., to merge multiple line number tables if they exist or to remove attributes if they are completely resolved.
- Definition Classes
- AttributeReader
- See also
The implementation of org.opalj.br.reader.UnpackedLineNumberTable_attributeBinding for a concrete example.
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 AppendFrame(frame_type: Int, offset_delta: Int, verification_type_info_locals: VerificationTypeInfoLocals): StackMapFrame
- Definition Classes
- StackMapTable_attributeBinding → StackMapFrameReader
- def CONSTANT_Class_info(i: Int): CONSTANT_Class_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- def CONSTANT_Double_info(d: Double): CONSTANT_Double_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- def CONSTANT_Dynamic_info(bootstrap_method_attr_index: Constant_Pool_Index, name_and_type_index: Constant_Pool_Index): CONSTANT_Dynamic_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- def CONSTANT_Fieldref_info(class_index: Constant_Pool_Index, name_and_type_index: Constant_Pool_Index): CONSTANT_Fieldref_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- def CONSTANT_Float_info(f: Float): CONSTANT_Float_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- def CONSTANT_Integer_info(i: Int): CONSTANT_Integer_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- def CONSTANT_InterfaceMethodref_info(class_index: Constant_Pool_Index, name_and_type_index: Constant_Pool_Index): CONSTANT_InterfaceMethodref_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- def CONSTANT_InvokeDynamic_info(bootstrap_method_attr_index: Constant_Pool_Index, name_and_type_index: Constant_Pool_Index): CONSTANT_InvokeDynamic_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- def CONSTANT_Long_info(l: Long): CONSTANT_Long_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- def CONSTANT_MethodHandle_info(reference_kind: Int, reference_index: Int): CONSTANT_MethodHandle_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- def CONSTANT_MethodType_info(descriptor_index: Constant_Pool_Index): CONSTANT_MethodType_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- def CONSTANT_Methodref_info(class_index: Constant_Pool_Index, name_and_type_index: Constant_Pool_Index): CONSTANT_Methodref_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- def CONSTANT_Module_info(name_index: Constant_Pool_Index): CONSTANT_Module_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- def CONSTANT_NameAndType_info(name_index: Constant_Pool_Index, descriptor_index: Constant_Pool_Index): CONSTANT_NameAndType_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- def CONSTANT_Package_info(name_index: Constant_Pool_Index): CONSTANT_Package_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- def CONSTANT_String_info(i: Int): CONSTANT_String_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- def CONSTANT_Utf8_info(r: Array[Byte], s: String): CONSTANT_Utf8_info
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- def ChopFrame(frame_type: Int, offset_delta: Int): ChopFrame
- Definition Classes
- StackMapTable_attributeBinding → StackMapFrameReader
- def Constant_Pool(in: DataInputStream): Constant_Pool
- Definition Classes
- Constant_PoolReader
- def DoubleVariableInfo(): br.DoubleVariableInfo.type
- Definition Classes
- StackMapTable_attributeBinding → VerificationTypeInfoReader
- def FloatVariableInfo(): br.FloatVariableInfo.type
- Definition Classes
- StackMapTable_attributeBinding → VerificationTypeInfoReader
- def FullFrame(frame_type: Int, offset_delta: Int, verification_type_info_locals: VerificationTypeInfoLocals, verification_type_info_stack: VerificationTypeInfoStack): StackMapFrame
- Definition Classes
- StackMapTable_attributeBinding → StackMapFrameReader
- def IntegerVariableInfo(): br.IntegerVariableInfo.type
- Definition Classes
- StackMapTable_attributeBinding → VerificationTypeInfoReader
- def LongVariableInfo(): br.LongVariableInfo.type
- Definition Classes
- StackMapTable_attributeBinding → VerificationTypeInfoReader
- def NullVariableInfo(): br.NullVariableInfo.type
- Definition Classes
- StackMapTable_attributeBinding → VerificationTypeInfoReader
- def ObjectVariableInfo(cp: Constant_Pool, type_index: Constant_Pool_Index): ObjectVariableInfo
The Object_variable_info type indicates that the location contains an instance of the class referenced by the constant pool entry.
The Object_variable_info type indicates that the location contains an instance of the class referenced by the constant pool entry.
- Definition Classes
- StackMapTable_attributeBinding → VerificationTypeInfoReader
- def SameFrame(frame_type: Int): StackMapFrame
- Definition Classes
- StackMapTable_attributeBinding → StackMapFrameReader
- def SameFrameExtended(frame_type: Int, offset_delta: Int): StackMapFrame
- Definition Classes
- StackMapTable_attributeBinding → StackMapFrameReader
- def SameLocals1StackItemFrame(frame_type: Int, verification_type_info_stack: VerificationTypeInfo): StackMapFrame
- Definition Classes
- StackMapTable_attributeBinding → StackMapFrameReader
- def SameLocals1StackItemFrameExtended(frame_type: Int, offset_delta: Int, verification_type_info_stack: VerificationTypeInfo): StackMapFrame
- Definition Classes
- StackMapTable_attributeBinding → StackMapFrameReader
- def StackMapFrame(cp: Constant_Pool, in: DataInputStream): StackMapFrame
- Definition Classes
- StackMapFrameReader
- def StackMapTable_attribute(cp: Constant_Pool, ap_name_index: Constant_Pool_Index, ap_descriptor_index: Constant_Pool_Index, attribute_name_index: Constant_Pool_Index, stack_map_frames: StackMapFrames): StackMapTable_attribute
- Definition Classes
- StackMapTable_attributeBinding → StackMapTable_attributeReader
- def TopVariableInfo(): br.TopVariableInfo.type
- Definition Classes
- StackMapTable_attributeBinding → VerificationTypeInfoReader
- def UninitializedThisVariableInfo(): br.UninitializedThisVariableInfo.type
- Definition Classes
- StackMapTable_attributeBinding → VerificationTypeInfoReader
- def UninitializedVariableInfo(offset: Int): br.UninitializedVariableInfo
The Uninitialized_variable_info indicates that the location contains the verification type uninitialized(offset).
The Uninitialized_variable_info indicates that the location contains the verification type uninitialized(offset). The offset item indicates the offset of the new instruction that created the object being stored in the location.
- Definition Classes
- StackMapTable_attributeBinding → VerificationTypeInfoReader
- def VerificationTypeInfo(cp: Constant_Pool, in: DataInputStream): VerificationTypeInfo
- Definition Classes
- VerificationTypeInfoReader
- 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
- implicit val attributeType: ClassTag[Attribute]
- Definition Classes
- AttributeBinding → AttributesAbstractions
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- implicit val constantPoolEntryType: ClassTag[cp.Constant_Pool_Entry]
- Definition Classes
- ConstantPoolBinding → Constant_PoolAbstractions
- implicit def cpIndexTocpEntry(index: Constant_Pool_Index)(implicit cp: Constant_Pool): Constant_Pool_Entry
- Definition Classes
- ConstantPoolBinding
- 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]
- Definition Classes
- ConstantPoolBinding → Constant_PoolReader
- 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
- Definition Classes
- Constant_PoolReader
- def reifyEmptyAttributes: Boolean
Controls whether empty attributes (e.g., a LocalVariableTypeTable with no entries) should be reified or should be dropped.
Controls whether empty attributes (e.g., a LocalVariableTypeTable with no entries) should be reified or should be dropped.
- Definition Classes
- AttributeReader
- implicit val stackMapFrameType: ClassTag[StackMapFrame]
- Definition Classes
- StackMapTable_attributeBinding → StackMapFrameReader → StackMapTable_attributeReader
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit val verificationTypeInfoType: ClassTag[VerificationTypeInfo]
- Definition Classes
- StackMapTable_attributeBinding → StackMapFrameReader
- 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