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 char
getTag()
void
write
(ByteArrayDataOutputStream stream) abstract void
writeData
(ByteArrayDataOutputStream stream)
-
Constructor Details
-
AnnotationValue
-
-
Method Details
-
write
- Specified by:
write
in interfaceWritableEntry
- Throws:
IOException
-
writeData
- Throws:
IOException
-
getName
-
getTag
public abstract char getTag()
-