public static boolean hasFloatingPointType(@Nullable PsiExpression expression) {
    if (expression == null) {
      return false;
    }
    final PsiType type = expression.getType();
    return type != null && (PsiTypes.floatType().equals(type) || PsiTypes.doubleType().equals(type));
  }
public static boolean hasFloatingPointType(@Nullable PsiExpression expression)