Trait

org.opalj.bi.reader

ElementValuePairsReader

Related Doc: package reader

Permalink

trait ElementValuePairsReader extends AnnotationAbstractions

Generic parser for an annotation's element-value pairs.

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

Type Members

  1. abstract type Annotation

    Permalink
    Definition Classes
    AnnotationAbstractions
  2. abstract type ClassFile

    Permalink
    Definition Classes
    Constant_PoolAbstractions
  3. abstract type Constant_Pool

    Permalink
    Definition Classes
    Constant_PoolAbstractions
  4. abstract type Constant_Pool_Entry

    Permalink
    Definition Classes
    Constant_PoolAbstractions
  5. type Constant_Pool_Index = Int

    Permalink
    Definition Classes
    Constant_PoolAbstractions
  6. 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
  7. abstract type ElementValue

    Permalink
  8. abstract type ElementValuePair

    Permalink
  9. type ElementValuePairs = IndexedSeq[ElementValuePair]

    Permalink
  10. type ElementValues = IndexedSeq[ElementValue]

    Permalink

Abstract Value Members

  1. abstract def Annotation(constant_pool: Constant_Pool, type_index: Constant_Pool_Index, element_value_pairs: ElementValuePairs): Annotation

    Permalink
    Definition Classes
    AnnotationAbstractions
  2. abstract def AnnotationValue(constant_pool: Constant_Pool, annotation: Annotation): ElementValue

    Permalink
  3. abstract def ArrayValue(constant_pool: Constant_Pool, values: ElementValues): ElementValue

    Permalink
  4. abstract def BooleanValue(constant_pool: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue

    Permalink
  5. abstract def ByteValue(constant_pool: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue

    Permalink
  6. abstract def CharValue(constant_pool: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue

    Permalink
  7. abstract def ClassValue(constant_pool: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue

    Permalink
  8. abstract def DoubleValue(constant_pool: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue

    Permalink
  9. implicit abstract val ElementValueManifest: ClassTag[ElementValue]

    Permalink
  10. abstract def ElementValuePair(constant_pool: Constant_Pool, element_name_index: Constant_Pool_Index, element_value: ElementValue): ElementValuePair

    Permalink
  11. implicit abstract val ElementValuePairManifest: ClassTag[ElementValuePair]

    Permalink
  12. abstract def EnumValue(constant_pool: Constant_Pool, type_name_index: Constant_Pool_Index, const_name_index: Constant_Pool_Index): ElementValue

    Permalink
  13. abstract def FloatValue(constant_pool: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue

    Permalink
  14. abstract def IntValue(constant_pool: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue

    Permalink
  15. abstract def LongValue(constant_pool: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue

    Permalink
  16. abstract def ShortValue(constant_pool: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue

    Permalink
  17. abstract def StringValue(constant_pool: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue

    Permalink
  18. abstract 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_PoolAbstractions

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

    Permalink
    Definition Classes
    AnnotationAbstractions
  5. def ElementValue(cp: Constant_Pool, in: DataInputStream): ElementValue

    Permalink

    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;
    }
    

  6. def ElementValuePair(cp: Constant_Pool, in: DataInputStream): ElementValuePair

    Permalink
  7. def ElementValuePairs(cp: Constant_Pool, in: DataInputStream): ElementValuePairs

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from AnnotationAbstractions

Inherited from Constant_PoolAbstractions

Inherited from AnyRef

Inherited from Any

Ungrouped