public class AnnotationElementValue extends ElementValue
ANNOTATION, ARRAY, CLASS, cpool, ENUM_CONSTANT, PRIMITIVE_BOOLEAN, PRIMITIVE_BYTE, PRIMITIVE_CHAR, PRIMITIVE_DOUBLE, PRIMITIVE_FLOAT, PRIMITIVE_INT, PRIMITIVE_LONG, PRIMITIVE_SHORT, STRING, type| Constructor and Description |
|---|
AnnotationElementValue(AnnotationElementValue value,
ConstantPool cpool,
boolean copyPoolEntries) |
AnnotationElementValue(AnnotationGen a,
ConstantPool cpool) |
AnnotationElementValue(int type,
AnnotationGen annotation,
ConstantPool cpool) |
| Modifier and Type | Method and Description |
|---|---|
void |
dump(java.io.DataOutputStream dos) |
AnnotationGen |
getAnnotation() |
java.lang.String |
stringifyValue() |
copy, getConstantPool, getElementValueType, readElementValuepublic AnnotationElementValue(AnnotationGen a, ConstantPool cpool)
public AnnotationElementValue(int type,
AnnotationGen annotation,
ConstantPool cpool)
public AnnotationElementValue(AnnotationElementValue value, ConstantPool cpool, boolean copyPoolEntries)
public void dump(java.io.DataOutputStream dos)
throws java.io.IOException
dump in class ElementValuejava.io.IOExceptionpublic java.lang.String stringifyValue()
stringifyValue in class ElementValuepublic AnnotationGen getAnnotation()