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 class
Annotation value that is a reference to an annotation.static class
AnnotationElement.AnnotationValue<T extends MemberData<T>>
Base class for an annotation value.static class
AnnotationElement.Array_AnnotationValue<T extends MemberData<T>>
Annotation value that is an array of annotation elements.static class
AnnotationElement.CPX_AnnotationValue<T extends MemberData<T>>
Annotation value which is described by a single CPX entries (i.e.static class
AnnotationElement.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, visibleTypeAnnotations
Fields 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 TypeMethodDescriptionvoid
print()
void
read
(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, setElementState
Methods 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, setTheSame
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
print
in interfacePrintable
- Overrides:
print
in classIndenter
- Throws:
IOException
-
toString
-