Package org.openjdk.asmtools.jasm
Class TypeAnnotationData
java.lang.Object
org.openjdk.asmtools.jasm.AnnotationData
org.openjdk.asmtools.jasm.TypeAnnotationData
- All Implemented Interfaces:
ConstantPoolDataVisitor,DataWriter
JVMS 4.7.20.
type_annotation {
u1 target_type;
union {
type_parameter_target;
supertype_target;
type_parameter_bound_target;
empty_target;
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];
}
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openjdk.asmtools.jasm.AnnotationData
AnnotationData.ElemValuePair -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TypeAnnotationTargetInfoDataprotected TypeAnnotationTypes.ETargetTypeprotected TypeAnnotationTypePathDataFields inherited from class org.openjdk.asmtools.jasm.AnnotationData
elemValuePairs, invisible, typeCPX -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.openjdk.asmtools.jasm.AnnotationData
add, visitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.openjdk.asmtools.jasm.ConstantPoolDataVisitor
visitConstCell, visitDataMethods inherited from interface org.openjdk.asmtools.jasm.DataWriter
isCountable
-
Field Details
-
targetType
-
targetInfo
-
typePath
-
-
Constructor Details
-
TypeAnnotationData
-
-
Method Details
-
getLength
public int getLength()- Specified by:
getLengthin interfaceDataWriter- Overrides:
getLengthin classAnnotationData
-
write
- Specified by:
writein interfaceDataWriter- Overrides:
writein classAnnotationData- Throws:
IOException
-
addTypePathEntry
-
toString
-