Package org.openjdk.asmtools.jdis
Class AnnotationElement
java.lang.Object
org.openjdk.asmtools.jdis.AnnotationElement
Base class of all AnnotationElement entries
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Annot_AnnotValue Annotation value that is a reference to an annotation.static class
CPX_AnnotElem base class for an annotation value.static class
Array_AnnotElem Annotation value that is an array of annotation elements.static class
CPX_AnnotElem Annotation value which is described by a single CPX entry (ie.static class
CPX_AnnotElem AnnotElements that contain 2 cpx indices (ie. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ClassData
int
constant pool index for the name of the Annotation Element -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
print
(PrintWriter out, String tab) void
read
(DataInputStream in, boolean invisible) read read and resolve the method data called from ClassData.static AnnotationElement.AnnotValue
readValue
(DataInputStream in, ClassData cls, boolean invisible) read Static factory - creates Annotation Elements.toString()
-
Field Details
-
name_cpx
public int name_cpxconstant pool index for the name of the Annotation Element -
value
-
cls
-
-
Constructor Details
-
AnnotationElement
-
-
Method Details
-
readValue
public static AnnotationElement.AnnotValue readValue(DataInputStream in, ClassData cls, boolean invisible) throws IOException read Static factory - creates Annotation Elements.- Throws:
IOException
-
read
read read and resolve the method data called from ClassData. precondition: NumFields has already been read from the stream.- Throws:
IOException
-
stringVal
-
print
-
toString
-