Package org.openjdk.asmtools.jdis
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 org.openjdk.asmtools.jdis.MemberData
MemberData.AnnotationElementState -
Field Summary
FieldsFields inherited from class org.openjdk.asmtools.jdis.MemberData
access, attributes, data, DEFAULT_VALUE_PREFIX, environment, invisibleAnnotations, invisibleTypeAnnotations, isDeprecated, isSynthetic, memberType, pool, signature, visibleAnnotations, visibleTypeAnnotationsFields inherited from class org.openjdk.asmtools.jdis.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
Modifier and TypeMethodDescriptionvoidprint()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 org.openjdk.asmtools.jdis.MemberData
getAnnotationElementState, getAnnotationsCount, getConstantPool, getPseudoFlagsAsString, handleAttributes, init, printAnnotations, printVar, readAttributes, setElementStateMethods inherited from class org.openjdk.asmtools.jdis.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, setTheSameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.openjdk.asmtools.jdis.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
- Specified by:
printin interfacePrintable- Overrides:
printin classIndenter- Throws:
IOException
-
toString
-