trait ElementValuePairsReader extends AnnotationsAbstractions
Generic parser for an annotation's element-value pairs.
- Alphabetic
- By Inheritance
- ElementValuePairsReader
- AnnotationsAbstractions
- Constant_PoolAbstractions
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
abstract
type
Annotation <: AnyRef
- Definition Classes
- AnnotationsAbstractions
-
abstract
type
CONSTANT_Utf8_info <: Constant_Pool_Entry
- Definition Classes
- 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 type ElementValue <: AnyRef
- abstract type ElementValuePair <: AnyRef
-
type
ElementValuePairs = RefArray[ElementValuePair]
- Definition Classes
- ElementValuePairsReader → AnnotationsAbstractions
- type ElementValues = RefArray[ElementValue]
Abstract Value Members
-
abstract
def
Annotation(constant_pool: Constant_Pool, type_index: Constant_Pool_Index, element_value_pairs: ElementValuePairs): Annotation
- Definition Classes
- AnnotationsAbstractions
- abstract def AnnotationValue(constant_pool: Constant_Pool, annotation: Annotation): ElementValue
- abstract def ArrayValue(constant_pool: Constant_Pool, values: ElementValues): ElementValue
- abstract def BooleanValue(constant_pool: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
- abstract def ByteValue(constant_pool: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
- abstract def CharValue(constant_pool: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
- abstract def ClassValue(constant_pool: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
- abstract def DoubleValue(constant_pool: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
- abstract def ElementValuePair(constant_pool: Constant_Pool, element_name_index: Constant_Pool_Index, element_value: ElementValue): ElementValuePair
- abstract def EnumValue(constant_pool: Constant_Pool, type_name_index: Constant_Pool_Index, const_name_index: Constant_Pool_Index): ElementValue
- abstract def FloatValue(constant_pool: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
- abstract def IntValue(constant_pool: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
- abstract def LongValue(constant_pool: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
- abstract def ShortValue(constant_pool: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
- abstract def StringValue(constant_pool: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
-
abstract
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_PoolAbstractions
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
Annotation(cp: Constant_Pool, in: DataInputStream): Annotation
- Definition Classes
- AnnotationsAbstractions
-
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; } - def ElementValuePair(cp: Constant_Pool, in: DataInputStream): ElementValuePair
-
def
ElementValuePairs(cp: Constant_Pool, in: DataInputStream): ElementValuePairs
- Definition Classes
- ElementValuePairsReader → AnnotationsAbstractions
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- 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()
-
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( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated