public class AnnotationElementValueGen extends ElementValueGen
| Modifier and Type | Field and Description |
|---|---|
private AnnotationEntryGen |
a |
ANNOTATION, ARRAY, CLASS, cpGen, ENUM_CONSTANT, PRIMITIVE_BOOLEAN, PRIMITIVE_BYTE, PRIMITIVE_CHAR, PRIMITIVE_DOUBLE, PRIMITIVE_FLOAT, PRIMITIVE_INT, PRIMITIVE_LONG, PRIMITIVE_SHORT, STRING, type| Constructor and Description |
|---|
AnnotationElementValueGen(AnnotationElementValue value,
ConstantPoolGen cpool,
boolean copyPoolEntries) |
AnnotationElementValueGen(AnnotationEntryGen a,
ConstantPoolGen cpool) |
AnnotationElementValueGen(int type,
AnnotationEntryGen annotation,
ConstantPoolGen cpool) |
| Modifier and Type | Method and Description |
|---|---|
void |
dump(java.io.DataOutputStream dos) |
AnnotationEntryGen |
getAnnotation() |
ElementValue |
getElementValue()
Return immutable variant of this AnnotationElementValueGen
|
java.lang.String |
stringifyValue() |
copy, getConstantPool, getElementValueType, readElementValueprivate final AnnotationEntryGen a
public AnnotationElementValueGen(AnnotationEntryGen a, ConstantPoolGen cpool)
public AnnotationElementValueGen(int type,
AnnotationEntryGen annotation,
ConstantPoolGen cpool)
public AnnotationElementValueGen(AnnotationElementValue value, ConstantPoolGen cpool, boolean copyPoolEntries)
public void dump(java.io.DataOutputStream dos)
throws java.io.IOException
dump in class ElementValueGenjava.io.IOExceptionpublic java.lang.String stringifyValue()
stringifyValue in class ElementValueGenpublic ElementValue getElementValue()
getElementValue in class ElementValueGenpublic AnnotationEntryGen getAnnotation()