Class AnnotationElement
java.lang.Object
org.openjdk.asmtools.jdis.AnnotationElement
Base class of all AnnotationElement entries
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAnnot_AnnotValue Annotation value that is a reference to an annotation.static classCPX_AnnotElem base class for an annotation value.static classArray_AnnotElem Annotation value that is an array of annotation elements.static classCPX_AnnotElem Annotation value which is described by a single CPX entry (ie.static classCPX_AnnotElem AnnotElements that contain 2 cpx indices (ie. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ClassDataintconstant pool index for the name of the Annotation Element -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprint(PrintWriter out, String tab) voidread(DataInputStream in, boolean invisible) read read and resolve the method data called from ClassData.static AnnotationElement.AnnotValuereadValue(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
-