Annotation Interface SerDeprecatedEnumField


@Target(FIELD) @Retention(RUNTIME) public @interface SerDeprecatedEnumField
Used to annotate serializable enum fields that are deprecated. Enum classes may expose a currentValues() method, whose behavior is similar to the standard Enum#values() method but for which deprecated entries are not returned.