YodaCondition
The non-constant portion of a comparison generally comes first. For equality, prefer e.equals(CONSTANT) if e is non-null or Objects.equals(e, CONSTANT) if e may be null. For standard operators, prefer e > CONSTANT.
Severity
WARNING
Suppression
Suppress false positives by adding the suppression annotation @SuppressWarnings("YodaCondition") to the enclosing element.