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 classTarget Type visitor, used for constructing the target-info within a type annotation.Nested classes/interfaces inherited from class MemberData
MemberData.AnnotationElementStateNested classes/interfaces inherited from class Indenter
Indenter.NotImplementedException -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate TypeAnnotationTargetInfoDataprivate final TypeAnnotationData<T>.TargetTypeVisitorprivate final TypeAnnotationTypePathDataFields inherited from class AnnotationData
dataName, invisibleAnnotationToken, visibleAnnotationTokenFields inherited from class MemberData
access, attributes, data, DEFAULT_VALUE_PREFIX, environment, invisibleAnnotations, invisibleTypeAnnotations, isDeprecated, isSynthetic, memberType, owner, pool, signature, visibleAnnotations, visibleTypeAnnotationsFields inherited from class Indenter
ARGUMENT_DELIMITER, bestEffort, BootstrapArgumentsBreakPositions, BootstrapMethodBreakPositions, CIRCULAR_COMMENT_OFFSET, COMMENT_PADDING, commentOffset, detailedOutput, dropCharacterRange, dropClasses, dropSignatures, dropSourceFile, extraDetailedOutput, hasSize, INDENT_CHAR, INDENT_OFFSET, INDENT_STEP, INDENT_STRING, INITIAL_COMMENT_OFFSET, INSTR_PREFIX_LENGTH, InvokeDynamicBreakPositions, LdwBreakPositions, LINE_SPLITTER, maxSize, maxSizeCalculated, NO_BSM_ARGUMENTS, NO_BSM_ARGUMENTS_REGEX, OPERAND_PLACEHOLDER_LENGTH, printable, printConstantPool, printCPIndex, printHEX, printLabelAsIdentifiers, printLineNumber, printLineTable, printLineTableLines, printLineTableNumbers, printLocalVariables, printLocalVariableTypes, printProgramCounter, printSourceLines, PROGRAM_COUNTER_PLACEHOLDER_LENGTH, REPLACEMENT_NO_BSM_ARGUMENTS, skipComments, STACKMAP_TYPE_PLACEHOLDER_LENGTH, sysInfo, TABLE_PADDING, tableFormat, tableToken, toolOutput, UNDEFINED -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AnnotationData
isEmpty, print, printBodyOfData, printBodyOfDefaultData, printHeader, toStringMethods inherited from class MemberData
calculateInlinedTitleShift, getAnnotationElementState, getAnnotationsCount, getConstantPool, getListOf, getPseudoFlagsAsString, handleAttributes, handleUnrecognizedAttributes, init, printAnnotations, printAttributes, printSysInfo, printVar, readAttributes, setElementState, setOwner, setSignatureMethods inherited from class Indenter
decIndent, decIndent, enlargedIndent, enlargedIndent, formatOperandLine, getCommentOffset, getIndentSize, getIndentStep, getIndentString, getLabelPrefix, getOffset, getPrintAttributeCommentPadding, getPrintAttributeKeyPadding, getTitle, incIndent, incIndent, Indent, IndentPadLeft, IndentPadRight, initIndent, isTableOutput, jasmPrint, jasmPrint, nCopies, padLeft, PadLeft, padRight, PadRight, print, print, print, printIndent, printIndent, printIndent, printIndentLn, printIndentLn, printIndentLn, printIndentPadLeft, printIndentPadRight, println, println, println, println, printPadLeft, printPadRight, setCommentOffset, setHasSize, setOffset, setTheSame, tableFormatSupported, tablePrint, tablePrintMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Printable
isPrintable
-
Field Details
-
targetTypeVisitor
-
targetInfo
-
typePath
-
-
Constructor Details
-
TypeAnnotationData
-
-
Method Details
-
read
- Overrides:
readin classAnnotationData- Throws:
IOException
-
printBody
- Overrides:
printBodyin classAnnotationData- Throws:
IOException
-