Package org.openjdk.asmtools.jasm
Class AnnotationData
java.lang.Object
org.openjdk.asmtools.jasm.AnnotationData
- All Implemented Interfaces:
ConstantPoolDataVisitor
,DataWriter
- Direct Known Subclasses:
TypeAnnotationData
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 ClassesModifier and TypeClassDescriptionstatic class
AnnotationElemValue Used to store Annotation Data -
Field Summary
FieldsModifier and TypeFieldDescription(package private) ArrayList<AnnotationData.ElemValuePair>
(package private) boolean
(package private) Indexer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(AnnotationData.ElemValuePair elemValuePair) int
<T extends DataWriter>
Tvisit
(ConstantPool pool) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openjdk.asmtools.jasm.ConstantPoolDataVisitor
visitConstCell, visitData
-
Field Details
-
invisible
boolean invisible -
typeCPX
Indexer typeCPX -
elemValuePairs
ArrayList<AnnotationData.ElemValuePair> elemValuePairs
-
-
Constructor Details
-
AnnotationData
-
-
Method Details
-
visit
- Specified by:
visit
in interfaceConstantPoolDataVisitor
-
add
-
write
- Specified by:
write
in interfaceDataWriter
- Throws:
IOException
-
getLength
public int getLength()- Specified by:
getLength
in interfaceDataWriter
-