Package org.apache.bcel.classfile
Class ElementValuePair
java.lang.Object
org.apache.bcel.classfile.ElementValuePair
An annotation's element value pair.
- Since:
- 6.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ConstantPool
private final int
private final ElementValue
(package private) static final ElementValuePair[]
-
Constructor Summary
ConstructorsConstructorDescriptionElementValuePair
(int elementNameIndex, ElementValue elementValue, ConstantPool constantPool) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
dump
(DataOutputStream dos) int
final ElementValue
getValue()
-
Field Details
-
EMPTY_ARRAY
-
elementValue
-
constantPool
-
elementNameIndex
private final int elementNameIndex
-
-
Constructor Details
-
ElementValuePair
-
-
Method Details
-
dump
- Throws:
IOException
-
getNameIndex
public int getNameIndex() -
getNameString
-
getValue
-
toShortString
-