Package org.openjdk.asmtools.jasm
Class TypeAnnotationTargetInfoData.localvar_target
java.lang.Object
org.openjdk.asmtools.jasm.TypeAnnotationTargetInfoData
org.openjdk.asmtools.jasm.TypeAnnotationTargetInfoData.localvar_target
- All Implemented Interfaces:
Data
- Enclosing class:
- TypeAnnotationTargetInfoData
public static class TypeAnnotationTargetInfoData.localvar_target
extends TypeAnnotationTargetInfoData
localvar_target (4.7.20.1. The target_info union)
The localvar_target item indicates that an annotation appears on the type in a local variable declaration,
including a variable declared as a resource in a try-with-resources statement.
localvar_target {
u2 table_length;
{ u2 start_pc;
u2 length;
u2 index;
} table[table_length];
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
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) ArrayList<TypeAnnotationTargetInfoData.localvar_target.LocalVar_Entry>
Fields inherited from class org.openjdk.asmtools.jasm.TypeAnnotationTargetInfoData
targettype
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
_print
(PrintWriter out, String tab) protected void
_toString
(StringBuilder sb, int tabLevel) void
addEntry
(int startPC, int length, int cpx) int
void
Methods inherited from class org.openjdk.asmtools.jasm.TypeAnnotationTargetInfoData
getTargetType, print, toString, toString
-
Field Details
-
table
-
-
Constructor Details
-
localvar_target
-
-
Method Details
-
addEntry
public void addEntry(int startPC, int length, int cpx) -
write
- Specified by:
write
in interfaceData
- Specified by:
write
in classTypeAnnotationTargetInfoData
- Throws:
IOException
-
_print
- Specified by:
_print
in classTypeAnnotationTargetInfoData
-
getLength
public int getLength() -
_toString
- Specified by:
_toString
in classTypeAnnotationTargetInfoData
-