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

Reconstructed enum constant information.

## Constructor: ECst
- parameter: `sfield`, type: `com.pnfsoftware.jeb.core.units.code.java.IJavaStaticField`
- parameter: `name`, type: `java.lang.String`
- parameter: `ordinal`, type: `int`
- parameter: `adds`, type: `java.util.List<com.pnfsoftware.jeb.core.units.code.java.IJavaExpression>`
- parameter: `newExpressionForSubEnum`, type: `com.pnfsoftware.jeb.core.units.code.java.IJavaNew`

Description: Create reconstructed enum constant metadata.
parameter: sfield: compiler\-generated static field holding the constant
parameter: name: enum constant name
parameter: ordinal: enum constant ordinal
parameter: adds: additional constructor arguments
parameter: newExpressionForSubEnum: new\-expression used for a constant\-specific subclass

## Method: getArgumentList
- return type: `java.util.List<com.pnfsoftware.jeb.core.units.code.java.IJavaExpression>`

Description: Retrieve additional constructor arguments.
return: additional constructor arguments

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

Description: Retrieve the compiler\-generated static field holding this constant.
return: static field

## Method: getName
- return type: `java.lang.String`

Description: Retrieve the enum constant name.
return: enum constant name

## Method: getNewExpressionForSubEnum
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaNew`

Description: The enumerated constant type. In most cases, it is the type of the enum itself. However, if the constant define a block of code \(eg, to add or override methods\), the type of the constant will be a subclass of the enumeration type.
return: new\-expression for the constant\-specific subclass, or null

## Method: getOrdinal
- return type: `int`

Description: Retrieve the enum constant ordinal.
return: enum constant ordinal

