org.jboss.classfilewriter.annotations
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnumAnnotationValue
public EnumAnnotationValue(ConstPool constPool,
String name,
Enum<?> value)
EnumAnnotationValue
public EnumAnnotationValue(ConstPool constPool,
String name,
String enumType,
String enumValue)
getTag
public char getTag()
- Specified by:
getTag
in class AnnotationValue
writeData
public void writeData(ByteArrayDataOutputStream stream)
throws IOException
- Specified by:
writeData
in class AnnotationValue
- Throws:
IOException
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.