Package org.openjdk.asmtools.jdis

## Class TypeAnnotationData

- java.lang.Object
- - org.openjdk.asmtools.jdis.AnnotationData
  - - org.openjdk.asmtools.jdis.TypeAnnotationData

-     public class TypeAnnotationData
      extends AnnotationData

  Type Annotation data is a specific kind of AnnotationData. As well as the normal data items needed to present an annotation, Type annotations require a TargetInfo descriptor. This descriptor is based on a TargetType, and it optionally may contain a location descriptor (when the Type is embedded in a collection).

  The TypeAnnotationData class is based on JDis's AnnotationData class, and contains the (jasm) class for representing TargetInfo.

- - ### Field Summary

    - ### Fields inherited from class org.openjdk.asmtools.jdis.AnnotationData

      `dataName, invAnnotToken, visAnnotToken`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `TypeAnnotationData​(boolean invisible, ClassData cls)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | `printBody​(java.io.PrintWriter out, java.lang.String tab)` |
    `void` | `read​(java.io.DataInputStream in)` |

    - ### Methods inherited from class org.openjdk.asmtools.jdis.AnnotationData

      `_toString, print, printHeader, toString`

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

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

- - ### Constructor Detail

    - #### TypeAnnotationData

          public TypeAnnotationData​(boolean invisible,
                                    ClassData cls)

  - ### Method Detail

    - #### read

          public void read​(java.io.DataInputStream in)
                    throws java.io.IOException

      Overrides:
        `read` in class `AnnotationData`
      Throws:
        `java.io.IOException`

    - #### printBody

          protected void printBody​(java.io.PrintWriter out,
                                   java.lang.String tab)

      Overrides:
        `printBody` in class `AnnotationData`