public class EnumAnnotationValue extends AnnotationValue
Modifier and Type | Field and Description |
---|---|
private int |
typeIndex |
private int |
valueIndex |
Constructor and Description |
---|
EnumAnnotationValue(ConstPool constPool,
java.lang.String name,
java.lang.Enum<?> value) |
EnumAnnotationValue(ConstPool constPool,
java.lang.String name,
java.lang.String enumType,
java.lang.String enumValue) |
Modifier and Type | Method and Description |
---|---|
char |
getTag() |
void |
writeData(ByteArrayDataOutputStream stream) |
getName, write
public EnumAnnotationValue(ConstPool constPool, java.lang.String name, java.lang.Enum<?> value)
public EnumAnnotationValue(ConstPool constPool, java.lang.String name, java.lang.String enumType, java.lang.String enumValue)
public char getTag()
getTag
in class AnnotationValue
public void writeData(ByteArrayDataOutputStream stream) throws java.io.IOException
writeData
in class AnnotationValue
java.io.IOException