The annotated element is a persistent enumeration.
sealed class
|
PersistentEnum
|
extends
|
Attribute
|
Persistent enumerations are serialized by storing and retrieving the ordinal value of their enum items. Changing enum item ordinal values in the code afterwards can break existing serialized objects, so special care must be taken here to avoid this.