org.apache.bcel.classfile

## Class ArrayElementValue

- java.lang.Object
- - org.apache.bcel.classfile.ElementValue
  - - org.apache.bcel.classfile.ArrayElementValue

-     public class ArrayElementValue
      extends ElementValue

  Since:
    6.0

- - ### Field Summary

    - ### Fields inherited from class org.apache.bcel.classfile.ElementValue

      `ANNOTATION, ARRAY, CLASS, cpool, ENUM_CONSTANT, PRIMITIVE_BOOLEAN, PRIMITIVE_BYTE, PRIMITIVE_CHAR, PRIMITIVE_DOUBLE, PRIMITIVE_FLOAT, PRIMITIVE_INT, PRIMITIVE_LONG, PRIMITIVE_SHORT, STRING, type`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ArrayElementValue(int type, ElementValue[] datums, ConstantPool cpool)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `dump(DataOutputStream dos)`
    `ElementValue[]` | `getElementValuesArray()`
    `int` | `getElementValuesArraySize()`
    `String` | `stringifyValue()`
    `String` | `toString()`

    - ### Methods inherited from class org.apache.bcel.classfile.ElementValue

      `getElementValueType, readElementValue, toShortString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ArrayElementValue

          public ArrayElementValue(int type,
                                   ElementValue[] datums,
                                   ConstantPool cpool)

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `ElementValue`

    - #### dump

          public void dump(DataOutputStream dos)
                    throws IOException

      Specified by:
        `dump` in class `ElementValue`
      Throws:
        `IOException`

    - #### stringifyValue

          public String stringifyValue()

      Specified by:
        `stringifyValue` in class `ElementValue`

    - #### getElementValuesArray

          public ElementValue[] getElementValuesArray()

    - #### getElementValuesArraySize

          public int getElementValuesArraySize()

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