Package org.openjdk.asmtools.jasm
Class TypeAnnotationTargetInfoData.type_argument_target
java.lang.Object
org.openjdk.asmtools.jasm.TypeAnnotationTargetInfoData
org.openjdk.asmtools.jasm.TypeAnnotationTargetInfoData.type_argument_target
- All Implemented Interfaces:
DataWriter
- Enclosing class:
- TypeAnnotationTargetInfoData
public static class TypeAnnotationTargetInfoData.type_argument_target
extends TypeAnnotationTargetInfoData
type_argument_target (4.7.20.1. The target_info union)
The type_argument_target item indicates that an annotation appears either on the i'th type in a cast expression, or on the i'th type argument in the explicit type argument list for any of the following: a new expression, an explicit constructor invocation statement, a method invocation expression, or a method reference expression
type_argument_target { u2 offset; u1 type_argument_index; }
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openjdk.asmtools.jasm.TypeAnnotationTargetInfoData
TypeAnnotationTargetInfoData.catch_target, TypeAnnotationTargetInfoData.empty_target, TypeAnnotationTargetInfoData.formal_parameter_target, TypeAnnotationTargetInfoData.localvar_target, TypeAnnotationTargetInfoData.offset_target, TypeAnnotationTargetInfoData.supertype_target, TypeAnnotationTargetInfoData.throws_target, TypeAnnotationTargetInfoData.type_argument_target, TypeAnnotationTargetInfoData.type_parameter_bound_target, TypeAnnotationTargetInfoData.type_parameter_target
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int
(package private) int
Fields inherited from class org.openjdk.asmtools.jasm.TypeAnnotationTargetInfoData
targetType
-
Constructor Summary
ConstructorsConstructorDescriptiontype_argument_target
(TypeAnnotationTypes.ETargetType targetType, int offset, int index) -
Method Summary
Methods inherited from class org.openjdk.asmtools.jasm.TypeAnnotationTargetInfoData
getTargetType, toPrintString, toString
-
Field Details
-
offset
int offset -
typeArgumentIndex
int typeArgumentIndex
-
-
Constructor Details
-
type_argument_target
-
-
Method Details
-
write
- Specified by:
write
in interfaceDataWriter
- Specified by:
write
in classTypeAnnotationTargetInfoData
- Throws:
IOException
-
_toPrintString
- Specified by:
_toPrintString
in classTypeAnnotationTargetInfoData
-
getLength
public int getLength() -
_toString
- Specified by:
_toString
in classTypeAnnotationTargetInfoData
-