Packages

t

org.opalj.br.reader

TypeAnnotationsBinding

trait TypeAnnotationsBinding extends TypeAnnotationsReader with TypeAnnotationTargetReader with TypeAnnotationPathReader with AnnotationsBinding with AttributeBinding

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TypeAnnotationsBinding
  2. AttributeBinding
  3. AttributesAbstractions
  4. AnnotationsBinding
  5. ConstantPoolBinding
  6. Constant_PoolReader
  7. ElementValuePairsReader
  8. TypeAnnotationPathReader
  9. TypeAnnotationTargetReader
  10. TypeAnnotationsReader
  11. AnnotationsAbstractions
  12. Constant_PoolAbstractions
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Annotation = br.Annotation
  2. type AnnotationValue = br.AnnotationValue
    Definition Classes
    AnnotationsBinding
  3. type ArrayValue = br.ArrayValue
    Definition Classes
    AnnotationsBinding
  4. 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
    AttributeBindingAttributesAbstractions
  5. type Attributes = ArraySeq[Attribute]
    Definition Classes
    AttributesAbstractions
  6. type BooleanValue = br.BooleanValue
    Definition Classes
    AnnotationsBinding
  7. type ByteValue = br.ByteValue
    Definition Classes
    AnnotationsBinding
  8. type CONSTANT_Class_info = cp.CONSTANT_Class_info
  9. type CONSTANT_Double_info = cp.CONSTANT_Double_info
  10. type CONSTANT_Dynamic_info = cp.CONSTANT_Dynamic_info
  11. type CONSTANT_Fieldref_info = cp.CONSTANT_Fieldref_info
  12. type CONSTANT_Float_info = cp.CONSTANT_Float_info
  13. type CONSTANT_Integer_info = cp.CONSTANT_Integer_info
  14. type CONSTANT_InterfaceMethodref_info = cp.CONSTANT_InterfaceMethodref_info
  15. type CONSTANT_InvokeDynamic_info = cp.CONSTANT_InvokeDynamic_info
  16. type CONSTANT_Long_info = cp.CONSTANT_Long_info
  17. type CONSTANT_MethodHandle_info = cp.CONSTANT_MethodHandle_info
  18. type CONSTANT_MethodType_info = cp.CONSTANT_MethodType_info
  19. type CONSTANT_Methodref_info = cp.CONSTANT_Methodref_info
  20. type CONSTANT_Module_info = cp.CONSTANT_Module_info
  21. type CONSTANT_NameAndType_info = cp.CONSTANT_NameAndType_info
  22. type CONSTANT_Package_info = cp.CONSTANT_Package_info
  23. type CONSTANT_String_info = cp.CONSTANT_String_info
  24. type CONSTANT_Utf8_info = cp.CONSTANT_Utf8_info
  25. type CharValue = br.CharValue
    Definition Classes
    AnnotationsBinding
  26. abstract type ClassFile <: br.ClassFile
  27. type ClassValue = br.ClassValue
    Definition Classes
    AnnotationsBinding
  28. final type Constant_Pool = Array[Constant_Pool_Entry]
    Definition Classes
    Constant_PoolAbstractions
  29. type Constant_Pool_Entry = cp.Constant_Pool_Entry
  30. final type Constant_Pool_Index = Int
    Definition Classes
    Constant_PoolAbstractions
  31. 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
  32. type DoubleValue = br.DoubleValue
    Definition Classes
    AnnotationsBinding
  33. type ElementValue = br.ElementValue
  34. type ElementValuePair = br.ElementValuePair
  35. type ElementValuePairs = ArraySeq[ElementValuePair]
  36. type ElementValues = ArraySeq[ElementValue]
    Definition Classes
    ElementValuePairsReader
  37. type EnumValue = br.EnumValue
    Definition Classes
    AnnotationsBinding
  38. type FloatValue = br.FloatValue
    Definition Classes
    AnnotationsBinding
  39. type IntValue = br.IntValue
    Definition Classes
    AnnotationsBinding
  40. type LocalvarTable = ArraySeq[LocalvarTableEntry]
    Definition Classes
    TypeAnnotationTargetReader
  41. type LocalvarTableEntry = br.LocalvarTableEntry
  42. type LongValue = br.LongValue
    Definition Classes
    AnnotationsBinding
  43. type ShortValue = br.ShortValue
    Definition Classes
    AnnotationsBinding
  44. type TypeAnnotation = br.TypeAnnotation
  45. type TypeAnnotationPath = br.TypeAnnotationPath
  46. type TypeAnnotationPathElement = br.TypeAnnotationPathElement
  47. type TypeAnnotationPathElementsTable = ArraySeq[TypeAnnotationPathElement]
    Definition Classes
    TypeAnnotationPathReader
  48. type TypeAnnotationTarget = br.TypeAnnotationTarget
  49. type TypeAnnotations = ArraySeq[TypeAnnotation]
    Definition Classes
    TypeAnnotationsReader

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 Annotation(cp: Constant_Pool, type_index: Constant_Pool_Index, element_value_pairs: ElementValuePairs): Annotation
  5. def Annotation(cp: Constant_Pool, in: DataInputStream): Annotation
    Definition Classes
    AnnotationsAbstractions
  6. def AnnotationValue(cp: Constant_Pool, annotation: Annotation): ElementValue
  7. def ArrayValue(cp: Constant_Pool, values: ElementValues): ElementValue
  8. def BooleanValue(cp: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
  9. def ByteValue(cp: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
  10. def CONSTANT_Class_info(i: Int): CONSTANT_Class_info
  11. def CONSTANT_Double_info(d: Double): CONSTANT_Double_info
  12. def CONSTANT_Dynamic_info(bootstrap_method_attr_index: Constant_Pool_Index, name_and_type_index: Constant_Pool_Index): CONSTANT_Dynamic_info
  13. def CONSTANT_Fieldref_info(class_index: Constant_Pool_Index, name_and_type_index: Constant_Pool_Index): CONSTANT_Fieldref_info
  14. def CONSTANT_Float_info(f: Float): CONSTANT_Float_info
  15. def CONSTANT_Integer_info(i: Int): CONSTANT_Integer_info
  16. def CONSTANT_InterfaceMethodref_info(class_index: Constant_Pool_Index, name_and_type_index: Constant_Pool_Index): CONSTANT_InterfaceMethodref_info
  17. def CONSTANT_InvokeDynamic_info(bootstrap_method_attr_index: Constant_Pool_Index, name_and_type_index: Constant_Pool_Index): CONSTANT_InvokeDynamic_info
  18. def CONSTANT_Long_info(l: Long): CONSTANT_Long_info
  19. def CONSTANT_MethodHandle_info(reference_kind: Int, reference_index: Int): CONSTANT_MethodHandle_info
  20. def CONSTANT_MethodType_info(descriptor_index: Constant_Pool_Index): CONSTANT_MethodType_info
  21. def CONSTANT_Methodref_info(class_index: Constant_Pool_Index, name_and_type_index: Constant_Pool_Index): CONSTANT_Methodref_info
  22. def CONSTANT_Module_info(name_index: Constant_Pool_Index): CONSTANT_Module_info
  23. def CONSTANT_NameAndType_info(name_index: Constant_Pool_Index, descriptor_index: Constant_Pool_Index): CONSTANT_NameAndType_info
  24. def CONSTANT_Package_info(name_index: Constant_Pool_Index): CONSTANT_Package_info
  25. def CONSTANT_String_info(i: Int): CONSTANT_String_info
  26. def CONSTANT_Utf8_info(r: Array[Byte], s: String): CONSTANT_Utf8_info
  27. def CastExpression(offset: Int, type_argument_index: Int): TAOfCastExpression
  28. def Catch(exception_table_index: Int): TAOfCatch
  29. def CharValue(cp: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
  30. def ClassValue(cp: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
  31. def Constant_Pool(in: DataInputStream): Constant_Pool
    Definition Classes
    Constant_PoolReader
  32. def ConstructorInMethodReferenceExpression(offset: Int, type_argument_index: Int): TAOfConstructorInMethodReferenceExpression
  33. def ConstructorInvocation(offset: Int, type_argument_index: Int): TAOfConstructorInvocation
  34. def DoubleValue(cp: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
  35. def ElementValue(cp: Constant_Pool, in: DataInputStream): ElementValue

    Parses an element value.

    Parses an element value.

    From the Specification

    element_value {
       u1 tag;
       union {
         u2   const_value_index;
    
         {
           u2 type_name_index;
           u2 const_name_index;
         } enum_const_value;
    
         u2 class_info_index;
    
         annotation annotation_value;
    
         {
           u2    num_values;
           element_value values[num_values];
         } array_value;
       } value;
    }
    

    Definition Classes
    ElementValuePairsReader
  36. def ElementValuePair(cp: Constant_Pool, element_name_index: Constant_Pool_Index, element_value: ElementValue): ElementValuePair
  37. def ElementValuePair(cp: Constant_Pool, in: DataInputStream): ElementValuePair
    Definition Classes
    ElementValuePairsReader
  38. def ElementValuePairs(cp: Constant_Pool, in: DataInputStream): ElementValuePairs
  39. def EnumValue(cp: Constant_Pool, type_name_index: Constant_Pool_Index, const_name_index: Constant_Pool_Index): ElementValue
  40. def FieldDeclaration: TAOfFieldDeclaration.type
  41. def FloatValue(cp: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
  42. def FormalParameter(formal_parameter_index: Int): TAOfFormalParameter
  43. def InstanceOf(offset: Int): TAOfInstanceOf
  44. def IntValue(cp: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
  45. def LocalvarDecl(localVarTable: LocalvarTable): TAOfLocalvarDecl
  46. def LocalvarTable(in: DataInputStream): LocalvarTable
    Definition Classes
    TypeAnnotationTargetReader
  47. def LocalvarTableEntry(start_pc: Int, length: Int, local_variable_table_index: Int): LocalvarTableEntry

    Factory method to create a LocalvarTableEntry.

    Factory method to create a LocalvarTableEntry. To completely resolve such entries; i.e., to resolve the local_variable_table_index it may be necessary to do some post-processing after all attributes belonging to a code block are loaded. This can be done using the method org.opalj.bi.reader.AttributeReader.registerAttributesPostProcessor.

    Definition Classes
    TypeAnnotationsBindingTypeAnnotationTargetReader
  48. def LongValue(cp: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
  49. def MethodInMethodReferenceExpression(offset: Int, type_argument_index: Int): TAOfMethodInMethodReferenceExpression
  50. def MethodInvocation(offset: Int, type_argument_index: Int): TAOfMethodInvocation
  51. def MethodReferenceExpressionIdentifier(offset: Int): TAOfMethodReferenceExpressionIdentifier
  52. def MethodReferenceExpressionNew(offset: Int): TAOfMethodReferenceExpressionNew
  53. def New(offset: Int): TAOfNew
  54. def ParameterDeclarationOfClassOrInterface(type_parameter_index: Int): TAOfParameterDeclarationOfClassOrInterface
  55. def ParameterDeclarationOfMethodOrConstructor(type_parameter_index: Int): TAOfParameterDeclarationOfMethodOrConstructor
  56. def ReceiverType: TAOfReceiverType.type
  57. def ResourcevarDecl(localVarTable: LocalvarTable): TAOfResourcevarDecl
  58. def ReturnType: TAOfReturnType.type
  59. def ShortValue(cp: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
  60. def StringValue(cp: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
  61. def SupertypeTarget(supertype_index: Int): TAOfSupertype
  62. def Throws(throws_type_index: Int): TAOfThrows
  63. def TypeAnnotation(cp: Constant_Pool, target: TypeAnnotationTarget, path: TypeAnnotationPath, type_index: Constant_Pool_Index, element_value_pairs: ElementValuePairs): TypeAnnotation
  64. def TypeAnnotation(cp: Constant_Pool, in: DataInputStream): TypeAnnotation
    Definition Classes
    TypeAnnotationsReader
  65. def TypeAnnotationDeeperInArrayType: TADeeperInArrayType.type

    The type_path_kind was 0 (and the type_argument_index was also 0).

    The type_path_kind was 0 (and the type_argument_index was also 0).

    Definition Classes
    TypeAnnotationsBindingTypeAnnotationPathReader
  66. def TypeAnnotationDeeperInNestedType: TADeeperInNestedType.type

    The type_path_kind was 1 (and the type_argument_index was (as defined by the specification) also 0).

    The type_path_kind was 1 (and the type_argument_index was (as defined by the specification) also 0).

    Definition Classes
    TypeAnnotationsBindingTypeAnnotationPathReader
  67. def TypeAnnotationDirectlyOnType: TADirectlyOnType.type

    The path's length was 0.

    The path's length was 0.

    Definition Classes
    TypeAnnotationsBindingTypeAnnotationPathReader
  68. def TypeAnnotationOnBoundOfWildcardType: TAOnBoundOfWildcardType.type

    The type_path_kind was 2 (and the type_argument_index was (as defined by the specification) also 0).

    The type_path_kind was 2 (and the type_argument_index was (as defined by the specification) also 0).

    Definition Classes
    TypeAnnotationsBindingTypeAnnotationPathReader
  69. def TypeAnnotationOnTypeArgument(type_argument_index: Int): TAOnTypeArgument
  70. def TypeAnnotationPath(path: ArraySeq[TypeAnnotationPathElement]): TAOnNestedType
  71. def TypeAnnotationPath(in: DataInputStream): TypeAnnotationPath
    Definition Classes
    TypeAnnotationPathReader
  72. def TypeAnnotationTarget(in: DataInputStream): TypeAnnotationTarget

    u1 target_type;
    union {
     type_parameter_target;
     supertype_target;
     type_parameter_bound_target;
     empty_target;
     method_formal_parameter_target;
     throws_target;
     localvar_target;
     catch_target;
     offset_target;
     type_argument_target;
     } target_info;
    

    u1 target_type;
    union {
     type_parameter_target;
     supertype_target;
     type_parameter_bound_target;
     empty_target;
     method_formal_parameter_target;
     throws_target;
     localvar_target;
     catch_target;
     offset_target;
     type_argument_target;
     } target_info;
    

    Definition Classes
    TypeAnnotationTargetReader
  73. def TypeAnnotations(cp: Constant_Pool, in: DataInputStream): TypeAnnotations

    Reads a Runtime(In)VisibleTypeAnnotations attribute.

    Reads a Runtime(In)VisibleTypeAnnotations attribute.

    type_annotation {
               u1 target_type;
               union {
                   type_parameter_target;
                   supertype_target;
                   type_parameter_bound_target;
                   empty_target;
                   method_formal_parameter_target;
                   throws_target;
                   localvar_target;
                   catch_target;
                   offset_target;
                   type_argument_target;
               } target_info;
               type_path target_path;
               u2        type_index;
               u2        num_element_value_pairs;
               { u2              element_name_index;
                 element_value   value;
               } element_value_pairs[num_element_value_pairs];
    }
    

    Definition Classes
    TypeAnnotationsReader
  74. def TypeBoundOfParameterDeclarationOfClassOrInterface(type_parameter_index: Int, bound_index: Int): TAOfTypeBoundOfParameterDeclarationOfClassOrInterface
  75. def TypeBoundOfParameterDeclarationOfMethodOrConstructor(type_parameter_index: Int, bound_index: Int): TAOfTypeBoundOfParameterDeclarationOfMethodOrConstructor
  76. implicit val annotationType: ClassTag[Annotation]
  77. 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
  78. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  79. implicit val attributeType: ClassTag[Attribute]
  80. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  81. implicit val constantPoolEntryType: ClassTag[cp.Constant_Pool_Entry]
  82. implicit def cpIndexTocpEntry(index: Constant_Pool_Index)(implicit cp: Constant_Pool): Constant_Pool_Entry
    Definition Classes
    ConstantPoolBinding
  83. 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
    ConstantPoolBindingConstant_PoolReader
  84. implicit val elementValuePairType: ClassTag[ElementValuePair]
  85. implicit val elementValueType: ClassTag[ElementValue]
  86. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  87. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  88. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  89. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  90. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  91. implicit val localvarTableEntryType: ClassTag[LocalvarTableEntry]
  92. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  93. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  94. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  95. def registerDeferredAction(cp: Constant_Pool)(deferredAction: (ClassFile) => ClassFile): Unit
    Definition Classes
    Constant_PoolReader
  96. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  97. def toString(): String
    Definition Classes
    AnyRef → Any
  98. implicit val typeAnnotationPathElementType: ClassTag[TypeAnnotationPathElement]
  99. implicit val typeAnnotationType: ClassTag[TypeAnnotation]
  100. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  101. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  102. 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 AttributeBinding

Inherited from AttributesAbstractions

Inherited from AnnotationsBinding

Inherited from ConstantPoolBinding

Inherited from Constant_PoolReader

Inherited from TypeAnnotationsReader

Inherited from AnyRef

Inherited from Any

Ungrouped