Class StringAnnotationValue
- java.lang.Object
-
- org.jboss.classfilewriter.annotations.AnnotationValue
-
- org.jboss.classfilewriter.annotations.StringAnnotationValue
-
- All Implemented Interfaces:
WritableEntry
public class StringAnnotationValue extends AnnotationValue
A string annotation value
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
value
private int
valueIndex
-
Constructor Summary
Constructors Constructor Description StringAnnotationValue(ConstPool constPool, java.lang.String name, java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char
getTag()
java.lang.String
getValue()
void
writeData(ByteArrayDataOutputStream stream)
-
Methods inherited from class org.jboss.classfilewriter.annotations.AnnotationValue
getName, write
-
-
-
-
Constructor Detail
-
StringAnnotationValue
public StringAnnotationValue(ConstPool constPool, java.lang.String name, java.lang.String value)
-
-
Method Detail
-
getTag
public char getTag()
- Specified by:
getTag
in classAnnotationValue
-
writeData
public void writeData(ByteArrayDataOutputStream stream) throws java.io.IOException
- Specified by:
writeData
in classAnnotationValue
- Throws:
java.io.IOException
-
getValue
public java.lang.String getValue()
-
-