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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
TypeAnnotationData.TTVis
TTVis
-
Field Summary
Fields Modifier and Type Field Description private TypeAnnotationTargetInfoData
targetInfo
private static TypeAnnotationData.TTVis
TT_Visitor
private TypeAnnotationTypePathData
typePath
-
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
-
-
-
-
Field Detail
-
TT_Visitor
private static TypeAnnotationData.TTVis TT_Visitor
-
targetInfo
private TypeAnnotationTargetInfoData targetInfo
-
typePath
private TypeAnnotationTypePathData typePath
-
-
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 classAnnotationData
- Throws:
java.io.IOException
-
printBody
protected void printBody(java.io.PrintWriter out, java.lang.String tab)
- Overrides:
printBody
in classAnnotationData
-
-