public T[] getEnumConstants ()

Returns the elements of this enum class or null if this Class object does not represent an enum type.

Returns:  an array containing the values comprising the enum class represented by this Class object in the order they're declared, or null if this Class object does not represent an enum type

Since:  1.5