If the field is never reassigned, add the missing
If the field needs to be mutable, create a separate lock by adding a private final field and synchronizing on it to guard all accesses.
If the field is lazily initialized, annotation it with
Suppress false positives by adding an
@SuppressWarnings("SynchronizeOnNonFinalField") annotation to the enclosing element.