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 TypeClassDescriptionclassNested classes/interfaces inherited from class 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 TypeAnnotationTargetInfoData
targettype -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid_print(PrintWriter out, String tab) protected void_toString(StringBuilder sb, int tabLevel) voidaddEntry(int startPC, int length, int cpx) intvoidMethods inherited from class 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:
writein interfaceData- Specified by:
writein classTypeAnnotationTargetInfoData- Throws:
IOException
-
_print
- Specified by:
_printin classTypeAnnotationTargetInfoData
-
getLength
public int getLength() -
_toString
- Specified by:
_toStringin classTypeAnnotationTargetInfoData
-