Package org.openjdk.asmtools.jasm
Class AnnotationData
- java.lang.Object
-
- org.openjdk.asmtools.jasm.AnnotationData
-
- All Implemented Interfaces:
Data
- Direct Known Subclasses:
TypeAnnotationData
class AnnotationData extends java.lang.Object implements Data
JVMS 4.7.16. annotation { u2 type_index; u2 num_element_value_pairs; { u2 element_name_index; element_value value; } element_value_pairs[num_element_value_pairs]; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AnnotationData.ElemValuePair
AnnotationElemValue Used to store Annotation Data
-
Field Summary
Fields Modifier and Type Field Description (package private) int
annotationLength
(package private) java.util.ArrayList<AnnotationData.ElemValuePair>
elemValuePairs
(package private) boolean
invisible
(package private) Argument
typeCPX
-
Constructor Summary
Constructors Constructor Description AnnotationData(Argument typeCPX, boolean invisible)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(AnnotationData.ElemValuePair elemValuePair)
int
getLength()
void
write(CheckedDataOutputStream out)
-
-
-
Field Detail
-
invisible
boolean invisible
-
typeCPX
Argument typeCPX
-
elemValuePairs
java.util.ArrayList<AnnotationData.ElemValuePair> elemValuePairs
-
annotationLength
int annotationLength
-
-
Constructor Detail
-
AnnotationData
public AnnotationData(Argument typeCPX, boolean invisible)
-
-
Method Detail
-
add
public void add(AnnotationData.ElemValuePair elemValuePair)
-
write
public void write(CheckedDataOutputStream out) throws java.io.IOException
-
-