YodaCondition
The non-constant portion of an equals check generally comes first. Prefer e.equals(CONSTANT) if e is non-null or Objects.equals(e, CONSTANT) if e may be
Suppression
Suppress false positives by adding the suppression annotation @SuppressWarnings("YodaCondition")
to the enclosing element.