Top Description Fields Constructors Methods
org.jboss.classfilewriter.annotations

public Class EnumAnnotationValue

extends AnnotationValue
Class Inheritance
Imports
java.io.DataOutputStream, .IOException, org.jboss.classfilewriter.constpool.ConstPool, org.jboss.classfilewriter.util.ByteArrayDataOutputStream, .DescriptorUtils

An enum annotation value
Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
private final int
private final int

Constructor Summary

AccessConstructor and Description
public
EnumAnnotationValue(ConstPool constPool, String name, Enum<?> value)

public
EnumAnnotationValue(ConstPool constPool, String name, String enumType, String enumValue)

Method Summary

Modifier and TypeMethod and Description
public char
public void
Inherited from org.jboss.classfilewriter.annotations.AnnotationValue:
getNamewrite

Field Detail

typeIndexback to summary
private final int typeIndex
valueIndexback to summary
private final int valueIndex

Constructor Detail

EnumAnnotationValueback to summary
public EnumAnnotationValue(ConstPool constPool, String name, Enum<?> value)
EnumAnnotationValueback to summary
public EnumAnnotationValue(ConstPool constPool, String name, String enumType, String enumValue)

Method Detail

getTagback to summary
public char getTag()

Implements abstract org.jboss.classfilewriter.annotations.AnnotationValue.getTag.

Annotations
@Override
writeDataback to summary
public void writeData(ByteArrayDataOutputStream stream) throws IOException

Implements abstract org.jboss.classfilewriter.annotations.AnnotationValue.writeData.

Annotations
@Override