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 classAnnotationElemValue 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 TypeMethodDescriptionvoidadd(AnnotationData.ElemValuePair elemValuePair) int<T extends DataWriter>
Tvisit(ConstantPool pool) voidMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ConstantPoolDataVisitor
visitConstCell, visitDataMethods inherited from interface DataWriter
isCountable
-
Field Details
-
invisible
boolean invisible -
typeCPX
Indexer typeCPX -
elemValuePairs
ArrayList<AnnotationData.ElemValuePair> elemValuePairs
-
-
Constructor Details
-
AnnotationData
-
-
Method Details
-
visit
- Specified by:
visitin interfaceConstantPoolDataVisitor
-
add
-
write
- Specified by:
writein interfaceDataWriter- Throws:
IOException
-
getLength
public int getLength()- Specified by:
getLengthin interfaceDataWriter
-