public class AnnotationElement extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AnnotationElement.Annot_AnnotValue
Annot_AnnotValue
Annotation value that is a reference to an annotation.
|
static class |
AnnotationElement.AnnotValue
CPX_AnnotElem
base class for an annotation value.
|
static class |
AnnotationElement.Array_AnnotValue
Array_AnnotElem
Annotation value that is an array of annotation elements.
|
static class |
AnnotationElement.CPX_AnnotValue
CPX_AnnotElem
Annotation value which is described by a single CPX entry (ie.
|
static class |
AnnotationElement.CPX2_AnnotValue
CPX_AnnotElem
AnnotElements that contain 2 cpx indices (ie.
|
Modifier and Type | Field and Description |
---|---|
protected ClassData |
cls |
int |
name_cpx
constant pool index for the name of the Annotation Element
|
AnnotationElement.AnnotValue |
value |
Constructor and Description |
---|
AnnotationElement(ClassData cls) |
Modifier and Type | Method and Description |
---|---|
void |
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.
|
String |
stringVal() |
String |
toString() |
public int name_cpx
public AnnotationElement.AnnotValue value
protected ClassData cls
public AnnotationElement(ClassData cls)
public static AnnotationElement.AnnotValue readValue(DataInputStream in, ClassData cls, boolean invisible) throws IOException
IOException
public void read(DataInputStream in, boolean invisible) throws IOException
IOException
public String stringVal()
public void print(PrintWriter out, String tab)
Copyright © 2021. All Rights Reserved.