Package org.openjdk.asmtools.jasm

## Class TypeAnnotationTargetInfoData.localvar_target

- java.lang.Object
- - org.openjdk.asmtools.jasm.TypeAnnotationTargetInfoData
  - - org.openjdk.asmtools.jasm.TypeAnnotationTargetInfoData.localvar_target

- 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 Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `TypeAnnotationTargetInfoData.localvar_target.LocalVar_Entry` |

    - ### 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
    --- | ---
    `localvar_target​(TypeAnnotationTypes.ETargetType tt, int size)` |

  - ### 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)` |
    `void` | `addEntry​(int startPC, int length, int cpx)` |
    `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`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### localvar_target

          public localvar_target​(TypeAnnotationTypes.ETargetType tt,
                                 int size)

  - ### Method Detail

    - #### addEntry

          public void addEntry​(int startPC,
                               int length,
                               int cpx)

    - #### write

          public void write​(CheckedDataOutputStream out)
                     throws java.io.IOException

      Specified by:
        `write` in class `TypeAnnotationTargetInfoData`
      Throws:
        `java.io.IOException`

    - #### _print

          public void _print​(java.io.PrintWriter out,
                             java.lang.String tab)

      Specified by:
        `_print` in class `TypeAnnotationTargetInfoData`

    - #### getLength

          public int getLength()

    - #### _toString

          protected void _toString​(java.lang.StringBuilder sb,
                                   int tabLevel)

      Specified by:
        `_toString` in class `TypeAnnotationTargetInfoData`

    - #### tabString

          public default java.lang.String tabString​(int tabLevel)