@Contract("null -> null")
  @Nullable
  public static PsiExpression resolveExpression(@Nullable PsiExpression expression) {
    expression = PsiUtil.skipParenthesizedExprDown(expression);
    if (expression instanceof PsiReferenceExpression reference &&
        reference.resolve() instanceof PsiLocalVariable variable &&
        !(variable instanceof PsiResourceVariable)) {
      PsiExpression initializer = variable.getInitializer();
      if (initializer != null && List.of(reference).equals(VariableAccessUtils.getVariableReferences(variable))) {
        return initializer;
      }
    }
    return expression;
  }
@Contract("null -> null")
  @Nullable
  public static PsiExpression resolveExpression(@Nullable PsiExpression expression)