Class EnumAnnotationValue
- java.lang.Object
-
- org.jboss.classfilewriter.annotations.AnnotationValue
-
- org.jboss.classfilewriter.annotations.EnumAnnotationValue
-
- All Implemented Interfaces:
WritableEntry
public class EnumAnnotationValue extends AnnotationValue
An enum annotation value- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description EnumAnnotationValue(ConstPool constPool, String name, Enum<?> value)EnumAnnotationValue(ConstPool constPool, String name, String enumType, String enumValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description chargetTag()voidwriteData(ByteArrayDataOutputStream stream)-
Methods inherited from class org.jboss.classfilewriter.annotations.AnnotationValue
getName, write
-
-
-
-
Method Detail
-
getTag
public char getTag()
- Specified by:
getTagin classAnnotationValue
-
writeData
public void writeData(ByteArrayDataOutputStream stream) throws IOException
- Specified by:
writeDatain classAnnotationValue- Throws:
IOException
-
-