AvoidValueSetter
Prefer using the enum-accepting rather than the int-accepting setter for enum fields.

Severity
WARNING

Suppression

Suppress false positives by adding the suppression annotation @SuppressWarnings("AvoidValueSetter") to the enclosing element.