# Class: com.pnfsoftware.jeb.core.units.code.java.JavaReconEnum

An object holding reconstructed information for an enumeration.

## Constructor: JavaReconEnum

Description: Create enum reconstruction metadata.

## Method: addEnumeratedConstant
- parameter: `c`, type: `com.pnfsoftware.jeb.core.units.code.java.JavaReconEnum.ECst`

Description: Add reconstructed enum constant metadata.
parameter: c: enum constant metadata

## Method: byField
- parameter: `field`, type: `com.pnfsoftware.jeb.core.units.code.java.IJavaStaticField`
- return type: `com.pnfsoftware.jeb.core.units.code.java.JavaReconEnum.ECst`

Description: Retrieve an enum constant by its compiler\-generated static field.
parameter: field: static field
return: enum constant metadata, or null

## Method: byOrdinal
- parameter: `ordinal`, type: `int`
- return type: `com.pnfsoftware.jeb.core.units.code.java.JavaReconEnum.ECst`

Description: Retrieve an enum constant by ordinal.
parameter: ordinal: enum constant ordinal
return: enum constant metadata, or null

## Method: getEnumeratedConstants
- return type: `java.util.List<com.pnfsoftware.jeb.core.units.code.java.JavaReconEnum.ECst>`

Description: Retrieve reconstructed enum constants.
return: enum constant metadata list

## Method: getValuesArray
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaStaticField`

Description: Retrieve the compiler\-generated values\-array field.
return: values\-array field, or null

## Method: setValuesArray
- parameter: `valuesArray`, type: `com.pnfsoftware.jeb.core.units.code.java.IJavaStaticField`

Description: Set the compiler\-generated values\-array field.
parameter: valuesArray: values\-array field

