java.util.Objects.equals()
a != null && a.equals(b)
This inspection only reports if the project or module is configured to use a language level of 7 or higher.
New in 15