# Uses of Class
org.apache.bcel.classfile.ElementValue

Packages that use ElementValue
Package
Description
org.apache.bcel.classfile
Classes that describe the structure of a Java class file and a class file parser.
org.apache.bcel.generic
Generic part of the Apache Byte Code Engineering Library (BCEL), classes to dynamically modify class objects and byte code instructions.

- ## Uses of ElementValue in org.apache.bcel.classfile

  Subclasses of ElementValue in org.apache.bcel.classfile
  Modifier and Type
  Class
  Description
  `class`
  `AnnotationElementValue`
  `class`
  `ArrayElementValue`
  `class`
  `ClassElementValue`
  `class`
  `EnumElementValue`
  `class`
  `SimpleElementValue`
  Methods in org.apache.bcel.classfile that return ElementValue
  Modifier and Type
  Method
  Description
  `final ElementValue`
  AnnotationDefault.`getDefaultValue()`
  `ElementValue[]`
  ArrayElementValue.`getElementValuesArray()`
  `final ElementValue`
  ElementValuePair.`getValue()`
  `static ElementValue`
  ElementValue.`readElementValue(DataInput input, ConstantPool cpool)`
  Reads an `element_value` as an `ElementValue`.
  `static ElementValue`
  ElementValue.`readElementValue(DataInput input, ConstantPool cpool, int arrayNesting)`
  Reads an `element_value` as an `ElementValue`.
  Methods in org.apache.bcel.classfile with parameters of type ElementValue
  Modifier and Type
  Method
  Description
  `final void`
  AnnotationDefault.`setDefaultValue(ElementValue defaultValue)`
  Constructors in org.apache.bcel.classfile with parameters of type ElementValue
  Modifier
  Constructor
  Description
  ``
  `AnnotationDefault(int nameIndex, int length, ElementValue defaultValue, ConstantPool constantPool)`
  ``
  `ArrayElementValue(int type, ElementValue[] elementValues, ConstantPool cpool)`
  ``
  `ElementValuePair(int elementNameIndex, ElementValue elementValue, ConstantPool constantPool)`

- ## Uses of ElementValue in org.apache.bcel.generic

  Methods in org.apache.bcel.generic that return ElementValue
  Modifier and Type
  Method
  Description
  `ElementValue`
  AnnotationElementValueGen.`getElementValue()`
  Return immutable variant of this AnnotationElementValueGen
  `ElementValue`
  ArrayElementValueGen.`getElementValue()`
  Return immutable variant of this ArrayElementValueGen
  `ElementValue`
  ClassElementValueGen.`getElementValue()`
  Return immutable variant of this ClassElementValueGen
  `abstract ElementValue`
  ElementValueGen.`getElementValue()`
  Subtypes return an immutable variant of the ElementValueGen
  `ElementValue`
  EnumElementValueGen.`getElementValue()`
  Return immutable variant of this EnumElementValue
  `ElementValue`
  SimpleElementValueGen.`getElementValue()`
  Return immutable variant
  Methods in org.apache.bcel.generic with parameters of type ElementValue
  Modifier and Type
  Method
  Description
  `static ElementValueGen`
  ElementValueGen.`copy(ElementValue value, ConstantPoolGen cpool, boolean copyPoolEntries)`
  Creates an (modifiable) ElementValueGen copy of an (immutable) ElementValue - constant pool is assumed correct.
  Constructors in org.apache.bcel.generic with parameters of type ElementValue
  Modifier
  Constructor
  Description
  ``
  `ArrayElementValueGen(int type, ElementValue[] elementValues, ConstantPoolGen cpool)`