trait TypeAnnotationsReader extends AnnotationsAbstractions
Generic parser for type annotations. This reader is intended to be used in conjunction with the Runtime(In)VisibleTypeAnnotations_attributeReaders.
- Alphabetic
- By Inheritance
- TypeAnnotationsReader
- 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
ElementValuePairs
- Definition Classes
- AnnotationsAbstractions
- abstract type TypeAnnotation <: AnyRef
- abstract type TypeAnnotationPath <: AnyRef
- abstract type TypeAnnotationTarget <: AnyRef
- type TypeAnnotations = RefArray[TypeAnnotation]
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
ElementValuePairs(cp: Constant_Pool, in: DataInputStream): ElementValuePairs
- Definition Classes
- AnnotationsAbstractions
- abstract def TypeAnnotation(cp: Constant_Pool, target: TypeAnnotationTarget, path: TypeAnnotationPath, type_index: Constant_Pool_Index, element_value_pairs: ElementValuePairs): TypeAnnotation
- abstract def TypeAnnotationPath(in: DataInputStream): TypeAnnotationPath
- abstract def TypeAnnotationTarget(in: DataInputStream): TypeAnnotationTarget
-
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 TypeAnnotation(cp: Constant_Pool, in: DataInputStream): TypeAnnotation
-
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]; } -
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