Package org.apache.bcel.generic
Class AnnotationElementValueGen
java.lang.Object
org.apache.bcel.generic.ElementValueGen
org.apache.bcel.generic.AnnotationElementValueGen
- 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
ConstructorsConstructorDescriptionAnnotationElementValueGen(int type, AnnotationEntryGen annotation, ConstantPoolGen cpool) AnnotationElementValueGen(AnnotationElementValue value, ConstantPoolGen cpool, boolean copyPoolEntries) -
Method Summary
Modifier and TypeMethodDescriptionvoiddump(DataOutputStream dos) Return immutable variant of this AnnotationElementValueGenMethods inherited from class org.apache.bcel.generic.ElementValueGen
copy, getConstantPool, getElementValueType, readElementValue
-
Constructor Details
-
AnnotationElementValueGen
public AnnotationElementValueGen(AnnotationElementValue value, ConstantPoolGen cpool, boolean copyPoolEntries) -
AnnotationElementValueGen
-
AnnotationElementValueGen
-
-
Method Details
-
dump
- Specified by:
dumpin classElementValueGen- Throws:
IOException
-
getAnnotation
-
getElementValue
Return immutable variant of this AnnotationElementValueGen- Specified by:
getElementValuein classElementValueGen
-
stringifyValue
- Specified by:
stringifyValuein classElementValueGen
-