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 classTypeAnnotationData.TTVisTTVis
-
Field Summary
Fields Modifier and Type Field Description private TypeAnnotationTargetInfoDatatargetInfoprivate static TypeAnnotationData.TTVisTT_Visitorprivate TypeAnnotationTypePathDatatypePath-
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 voidprintBody(java.io.PrintWriter out, java.lang.String tab)voidread(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:
readin classAnnotationData- Throws:
java.io.IOException
-
printBody
protected void printBody(java.io.PrintWriter out, java.lang.String tab)- Overrides:
printBodyin classAnnotationData
-
-