EqualityToSafeEqualsFix (PsiBinaryExpression expression) { final Nullability nullability = NullabilityUtil.getExpressionNullability(expression.getLOperand(), true); if (nullability == Nullability.NOT_NULL) return null; final Priority priority = nullability == Nullability.UNKNOWN ? Priority.TOP : Priority.NORMAL; return new EqualityToSafeEqualsFix(JavaTokenType.NE.equals(expression.getOperationTokenType()), priority); }