Class AnnotationElement<T extends MemberData<T>>
java.lang.Object
org.openjdk.asmtools.jdis.Indenter
org.openjdk.asmtools.jdis.MemberData<T>
org.openjdk.asmtools.jdis.AnnotationElement<T>
- All Implemented Interfaces:
Printable
Base class of all AnnotationElement entries
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAnnotation value that is a reference to an annotation.static classAnnotationElement.AnnotationValue<T extends MemberData<T>>Base class for an annotation value.static classAnnotationElement.Array_AnnotationValue<T extends MemberData<T>>Annotation value that is an array of annotation elements.static classAnnotationElement.CPX_AnnotationValue<T extends MemberData<T>>Annotation value which is described by a single CPX entries (i.e.static classAnnotationElement.CPX2_AnnotationValue<T extends MemberData<T>>AnnotationValue that contain 2 cpx indices (i.e.Nested classes/interfaces inherited from class MemberData
MemberData.AnnotationElementStateNested classes/interfaces inherited from class Indenter
Indenter.NotImplementedException -
Field Summary
FieldsFields 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
Modifier and TypeMethodDescriptionvoidprint()If a table format is supported and the tool option TABLE is set, prints an object as a table entry.voidread(DataInputStream in, boolean invisible) Read and resolve the method data called from ClassData.static <P extends MemberData<P>>
AnnotationElement.AnnotationValue<P> readValue(DataInputStream in, P data, boolean invisible) toString()Methods 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
-
name_cpx
public int name_cpx -
value
-
-
Constructor Details
-
AnnotationElement
-
-
Method Details
-
readValue
public static <P extends MemberData<P>> AnnotationElement.AnnotationValue<P> readValue(DataInputStream in, P data, boolean invisible) throws IOException - Throws:
IOException
-
read
Read and resolve the method data called from ClassData. precondition: NumFields has already been read from the stream.- Throws:
IOException
-
stringVal
-
print
-
toString
-