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