trait TypeAnnotationTargetReader extends Constant_PoolAbstractions
Generic parser for the target_type and target_info fields of type annotations.
This reader is intended to be used in conjunction with the
TypeAnnotationsReader.
- Alphabetic
- By Inheritance
- TypeAnnotationTargetReader
- Constant_PoolAbstractions
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
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
- type LocalvarTable = RefArray[LocalvarTableEntry]
- abstract type LocalvarTableEntry <: AnyRef
- abstract type TypeAnnotationTarget <: AnyRef
Abstract Value Members
- abstract def CastExpression(offset: Int, type_argument_index: Int): TypeAnnotationTarget
- abstract def Catch(exception_table_index: Int): TypeAnnotationTarget
- abstract def ConstructorInMethodReferenceExpression(offset: Int, type_argument_index: Int): TypeAnnotationTarget
- abstract def ConstructorInvocation(offset: Int, type_argument_index: Int): TypeAnnotationTarget
- abstract def FieldDeclaration: TypeAnnotationTarget
- abstract def FormalParameter(formal_parameter_index: Int): TypeAnnotationTarget
- abstract def InstanceOf(offset: Int): TypeAnnotationTarget
- abstract def LocalvarDecl(localVarTable: LocalvarTable): TypeAnnotationTarget
-
abstract
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. - abstract def MethodInMethodReferenceExpression(offset: Int, type_argument_index: Int): TypeAnnotationTarget
- abstract def MethodInvocation(offset: Int, type_argument_index: Int): TypeAnnotationTarget
- abstract def MethodReferenceExpressionIdentifier(offset: Int): TypeAnnotationTarget
- abstract def MethodReferenceExpressionNew(offset: Int): TypeAnnotationTarget
- abstract def New(offset: Int): TypeAnnotationTarget
- abstract def ParameterDeclarationOfClassOrInterface(type_parameter_index: Int): TypeAnnotationTarget
- abstract def ParameterDeclarationOfMethodOrConstructor(type_parameter_index: Int): TypeAnnotationTarget
- abstract def ReceiverType: TypeAnnotationTarget
- abstract def ResourcevarDecl(localVarTable: LocalvarTable): TypeAnnotationTarget
- abstract def ReturnType: TypeAnnotationTarget
- abstract def SupertypeTarget(supertype_index: Int): TypeAnnotationTarget
- abstract def Throws(throws_type_index: Int): TypeAnnotationTarget
- abstract def TypeBoundOfParameterDeclarationOfClassOrInterface(type_parameter_index: Int, bound_index: Int): TypeAnnotationTarget
- abstract def TypeBoundOfParameterDeclarationOfMethodOrConstructor(type_parameter_index: Int, bound_index: Int): 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 LocalvarTable(in: DataInputStream): LocalvarTable
-
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; -
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