# Uses of Class
org.apache.bcel.generic.ElementValueGen

Packages that use ElementValueGen
Package
Description
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 ElementValueGen in org.apache.bcel.generic

  Subclasses of ElementValueGen in org.apache.bcel.generic
  Modifier and Type
  Class
  Description
  `class`
  `AnnotationElementValueGen`
  Generates annotation element values.
  `class`
  `ArrayElementValueGen`
  Generates array element values in annotations.
  `class`
  `ClassElementValueGen`
  Generates class element values in annotations.
  `class`
  `EnumElementValueGen`
  Generates enum element values in annotations.
  `class`
  `SimpleElementValueGen`
  Generates simple element values in annotations.
  Methods in org.apache.bcel.generic that return ElementValueGen
  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.
  `final ElementValueGen`
  ElementValuePairGen.`getValue()`
  Gets the value.
  `static ElementValueGen`
  ElementValueGen.`readElementValue(DataInput dis, ConstantPoolGen cpGen)`
  Reads an element value from a DataInput.
  Methods in org.apache.bcel.generic that return types with arguments of type ElementValueGen
  Modifier and Type
  Method
  Description
  `List<ElementValueGen>`
  ArrayElementValueGen.`getElementValues()`
  Gets the element values.
  Methods in org.apache.bcel.generic with parameters of type ElementValueGen
  Modifier and Type
  Method
  Description
  `void`
  ArrayElementValueGen.`addElement(ElementValueGen gen)`
  Adds an element.
  Constructors in org.apache.bcel.generic with parameters of type ElementValueGen
  Modifier
  Constructor
  Description
  `protected`
  `ElementValuePairGen(int idx, ElementValueGen value, ConstantPoolGen cpool)`
  Constructs an ElementValuePairGen.
  ``
  `ElementValuePairGen(String name, ElementValueGen value, ConstantPoolGen cpool)`
  Constructs an ElementValuePairGen.