public static List<PsiExpression> extractSideEffectExpressions(@NotNull PsiExpression element) {
    return extractSideEffectExpressions(element, e -> false);
  }
public static List<PsiExpression> extractSideEffectExpressions(@NotNull PsiExpression element)