public static PsiExpression extractNaNFromComparison(PsiBinaryExpression expression) {
    if (!ComparisonUtils.isComparison(expression)) {
      return null;
    }
    final PsiExpression lhs = expression.getLOperand();
    final PsiExpression rhs = expression.getROperand();
    if (rhs == null || !TypeUtils.hasFloatingPointType(lhs) && !TypeUtils.hasFloatingPointType(rhs)) {
      return null;
    }
    if (isNaN(lhs)) {
      return lhs;
    }
    else if (isNaN(rhs)) {
      return rhs;
    }
    return null;
  }
public static PsiExpression extractNaNFromComparison(PsiBinaryExpression expression)