Package org.apache.bcel.generic
Class AnnotationElementValueGen
- java.lang.Object
 - 
- org.apache.bcel.generic.ElementValueGen
 - 
- org.apache.bcel.generic.AnnotationElementValueGen
 
 
 
- 
public class AnnotationElementValueGen extends ElementValueGen
- Since:
 - 6.0
 
 
- 
- 
Field Summary
- 
Fields inherited from class org.apache.bcel.generic.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 Summary
Constructors Constructor Description AnnotationElementValueGen(int type, AnnotationEntryGen annotation, ConstantPoolGen cpool)AnnotationElementValueGen(AnnotationElementValue value, ConstantPoolGen cpool, boolean copyPoolEntries)AnnotationElementValueGen(AnnotationEntryGen a, ConstantPoolGen cpool) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddump(java.io.DataOutputStream dos)AnnotationEntryGengetAnnotation()ElementValuegetElementValue()Return immutable variant of this AnnotationElementValueGenjava.lang.StringstringifyValue()- 
Methods inherited from class org.apache.bcel.generic.ElementValueGen
copy, getConstantPool, getElementValueType, readElementValue 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
AnnotationElementValueGen
public AnnotationElementValueGen(AnnotationEntryGen a, ConstantPoolGen cpool)
 
- 
AnnotationElementValueGen
public AnnotationElementValueGen(int type, AnnotationEntryGen annotation, ConstantPoolGen cpool) 
- 
AnnotationElementValueGen
public AnnotationElementValueGen(AnnotationElementValue value, ConstantPoolGen cpool, boolean copyPoolEntries)
 
 - 
 
- 
Method Detail
- 
dump
public void dump(java.io.DataOutputStream dos) throws java.io.IOException- Specified by:
 dumpin classElementValueGen- Throws:
 java.io.IOException
 
- 
stringifyValue
public java.lang.String stringifyValue()
- Specified by:
 stringifyValuein classElementValueGen
 
- 
getElementValue
public ElementValue getElementValue()
Return immutable variant of this AnnotationElementValueGen- Specified by:
 getElementValuein classElementValueGen
 
- 
getAnnotation
public AnnotationEntryGen getAnnotation()
 
 - 
 
 -