public class AnnotationElementValueGen extends ElementValueGen
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(DataOutputStream dos) |
AnnotationEntryGen |
getAnnotation() |
ElementValue |
getElementValue()
Return immutable variant of this AnnotationElementValueGen
|
String |
stringifyValue() |
copy, getConstantPool, getElementValueType, readElementValuepublic AnnotationElementValueGen(AnnotationEntryGen a, ConstantPoolGen cpool)
public AnnotationElementValueGen(int type,
AnnotationEntryGen annotation,
ConstantPoolGen cpool)
public AnnotationElementValueGen(AnnotationElementValue value, ConstantPoolGen cpool, boolean copyPoolEntries)
public void dump(DataOutputStream dos) throws IOException
dump in class ElementValueGenIOExceptionpublic String stringifyValue()
stringifyValue in class ElementValueGenpublic ElementValue getElementValue()
getElementValue in class ElementValueGenpublic AnnotationEntryGen getAnnotation()
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.