Class TypeAnnotationData<T extends MemberData>
java.lang.Object
org.openjdk.asmtools.jdis.Indenter
org.openjdk.asmtools.jdis.MemberData
org.openjdk.asmtools.jdis.AnnotationData
org.openjdk.asmtools.jdis.TypeAnnotationData<T>
- All Implemented Interfaces:
Printable
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 ClassesModifier and TypeClassDescriptionprivate class
Target Type visitor, used for constructing the target-info within a type annotation.Nested classes/interfaces inherited from class MemberData
MemberData.AnnotationElementState
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate TypeAnnotationTargetInfoData
private final TypeAnnotationData<T>.TargetTypeVisitor
private final TypeAnnotationTypePathData
Fields inherited from class AnnotationData
dataName, invisibleAnnotationToken, visibleAnnotationToken
Fields inherited from class MemberData
access, attributes, data, DEFAULT_VALUE_PREFIX, environment, invisibleAnnotations, invisibleTypeAnnotations, isDeprecated, isSynthetic, memberType, pool, signature, visibleAnnotations, visibleTypeAnnotations
Fields inherited from class Indenter
ARGUMENT_DELIMITER, COMMENT_OFFSET, COMMENT_PADDING, INDENT_OFFSET, INDENT_STEP, INDENT_STRING, INSTR_PREFIX_LENGTH, LINE_SPLITTER, OPERAND_PLACEHOLDER_LENGTH, printConstantPool, printCPIndex, printHEX, printLabelAsIdentifiers, printLineTable, printLocalVars, printProgramCounter, printSourceLines, PROGRAM_COUNTER_PLACEHOLDER_LENGTH, skipComments, STACKMAP_TYPE_PLACEHOLDER_LENGTH, toolOutput
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AnnotationData
isEmpty, print, printBodyOfData, printBodyOfDefaultData, printHeader, toString
Methods inherited from class MemberData
getAnnotationElementState, getAnnotationsCount, getConstantPool, getPseudoFlagsAsString, handleAttributes, init, printAnnotations, printVar, readAttributes, setElementState
Methods inherited from class Indenter
decIndent, enlargedIndent, enlargedIndent, getCommentOffset, getIndentSize, getIndentStep, getIndentString, getOffset, incIndent, Indent, IndentPadLeft, IndentPadRight, initIndent, nCopies, padLeft, PadLeft, padRight, PadRight, print, print, printIndent, printIndent, printIndent, printIndentLn, printIndentLn, printIndentLn, printIndentPadRight, println, println, println, println, printPadLeft, printPadRight, resetIndent, setCommentOffset, setOffset, setTheSame
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface Printable
isPrintable
-
Field Details
-
targetTypeVisitor
-
targetInfo
-
typePath
-
-
Constructor Details
-
TypeAnnotationData
-
-
Method Details
-
read
- Overrides:
read
in classAnnotationData
- Throws:
IOException
-
printBody
- Overrides:
printBody
in classAnnotationData
- Throws:
IOException
-