Module org.jboss.classfilewriter
Class AnnotationValue
java.lang.Object
org.jboss.classfilewriter.annotations.AnnotationValue
- All Implemented Interfaces:
WritableEntry
- Direct Known Subclasses:
AnnotationAnnotationValue,ArrayAnnotationValue,BooleanAnnotationValue,ByteAnnotationValue,CharAnnotationValue,ClassAnnotationValue,DoubleAnnotationValue,EnumAnnotationValue,FloatAnnotationValue,IntAnnotationValue,LongAnnotationValue,ShortAnnotationValue,StringAnnotationValue
Represents an annotation name/value pair. This class can also represent a value an an array valued annotation instance, if
the name is null
- Author:
- Stuart Douglas
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()abstract chargetTag()voidwrite(ByteArrayDataOutputStream stream) abstract voidwriteData(ByteArrayDataOutputStream stream)
-
Constructor Details
-
AnnotationValue
-
-
Method Details
-
write
- Specified by:
writein interfaceWritableEntry- Throws:
IOException
-
writeData
- Throws:
IOException
-
getName
-
getTag
public abstract char getTag()
-