In fact, it is false positive. Serializing the enumeration constants (in which you provided the link) says that:
Continuum constants are serialized differently than regular serializable or external objects. The serialized form of the enumeration constant consists solely of its name; constant field values ββare not present in the form.
As I see it, it makes no sense to mark the values ββof Enum fields as transient or to make them implemented Serializable , since they will never be serialized, regardless of whether they are marked as transient or implement Serializable .
If this analysis tool forces you to do one of these two things, then you will write useless code. If I were you, I would try to disable this warning for Enum s.
Federico peralta schaffner
source share