Class EnumAnnotationValue
java.lang.Object
org.jboss.classfilewriter.annotations.AnnotationValue
org.jboss.classfilewriter.annotations.EnumAnnotationValue
- All Implemented Interfaces:
WritableEntry
An enum annotation value
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEnumAnnotationValue(ConstPool constPool, String name, Enum<?> value) EnumAnnotationValue(ConstPool constPool, String name, String enumType, String enumValue) -
Method Summary
Methods inherited from class org.jboss.classfilewriter.annotations.AnnotationValue
getName, write
-
Field Details
-
valueIndex
private final int valueIndex -
typeIndex
private final int typeIndex
-
-
Constructor Details
-
EnumAnnotationValue
-
EnumAnnotationValue
-
-
Method Details
-
getTag
public char getTag()- Specified by:
getTagin classAnnotationValue
-
writeData
- Specified by:
writeDatain classAnnotationValue- Throws:
IOException
-