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
-
- 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
-
Fields inherited from class org.openjdk.asmtools.jasm.TypeAnnotationTargetInfoData
targettype
-
-
Constructor Summary
Constructors Constructor Description type_argument_target(TypeAnnotationTypes.ETargetType tt, int offset, int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Default Methods Modifier and Type Method Description void
_print(java.io.PrintWriter out, java.lang.String tab)
protected void
_toString(java.lang.StringBuilder sb, int tabLevel)
int
getLength()
default java.lang.String
tabString(int tabLevel)
void
write(CheckedDataOutputStream out)
-
Methods inherited from class org.openjdk.asmtools.jasm.TypeAnnotationTargetInfoData
getTargetType, print, toString, toString
-
-
-
-
Constructor Detail
-
type_argument_target
public type_argument_target(TypeAnnotationTypes.ETargetType tt, int offset, int index)
-
-
Method Detail
-
write
public void write(CheckedDataOutputStream out) throws java.io.IOException
- Specified by:
write
in classTypeAnnotationTargetInfoData
- Throws:
java.io.IOException
-
_print
public void _print(java.io.PrintWriter out, java.lang.String tab)
- Specified by:
_print
in classTypeAnnotationTargetInfoData
-
getLength
public int getLength()
-
_toString
protected void _toString(java.lang.StringBuilder sb, int tabLevel)
- Specified by:
_toString
in classTypeAnnotationTargetInfoData
-
tabString
public default java.lang.String tabString(int tabLevel)
-
-