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

- Packages that use ElementValue
  Package | Description
  --- | ---
  org.apache.bcel.classfile | This package contains the classes that describe the structure of a Java class file and a class file parser.
  org.apache.bcel.generic | This package contains the "generic" part of the Byte Code Engineering Library, i.e., 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 and Description
    --- | ---
    `class` | `AnnotationElementValue`
    `class` | `ArrayElementValue`
    `class` | `ClassElementValue`
    `class` | `EnumElementValue`
    `class` | `SimpleElementValue`

    Methods in org.apache.bcel.classfile that return ElementValue
    Modifier and Type | Method and Description
    --- | ---
    `ElementValue` | AnnotationDefault.`getDefaultValue()`
    `ElementValue[]` | ArrayElementValue.`getElementValuesArray()`
    `ElementValue` | ElementValuePair.`getValue()`
    `static ElementValue` | ElementValue.`readElementValue(DataInput input, ConstantPool cpool)`

    Methods in org.apache.bcel.classfile with parameters of type ElementValue
    Modifier and Type | Method and Description
    --- | ---
    `void` | AnnotationDefault.`setDefaultValue(ElementValue defaultValue)`

    Constructors in org.apache.bcel.classfile with parameters of type ElementValue
    Constructor and Description
    `AnnotationDefault(int name_index, int length, ElementValue defaultValue, ConstantPool constant_pool)`
    `ArrayElementValue(int type, ElementValue[] datums, 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 and 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 and 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
    Constructor and Description
    `ArrayElementValueGen(int type, ElementValue[] datums, ConstantPoolGen cpool)`

Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.