private static @Nullable PsiLambdaExpression getLambdaSupplier(@NotNull PsiMethodCallExpression expression) {
    PsiExpression[] expressions = expression.getArgumentList().getExpressions();
    if (expressions.length != 1) {
      return null;
    }
    PsiExpression supplier = expressions[0];
    if (!(supplier instanceof PsiLambdaExpression lambdaSupplier)) {
      return null;
    }
    return lambdaSupplier;
  }
private static @Nullable PsiLambdaExpression getLambdaSupplier(@NotNull PsiMethodCallExpression expression)