docs: @SuppressWarnings("TreeToString") // Indented to ignore whitespace, comments, and source position.
    private static boolean isSameExpression(ExpressionTree leftTree, ExpressionTree rightTree) {
      // The left tree and right tree must have the same symbol resolution.
      // This ensures the symbol kind on field, parameter or local var.
      if (ASTHelpers.getSymbol(leftTree) != ASTHelpers.getSymbol(rightTree)) {
        return false;
      }
  
      String leftTreeTextRepr = stripPrefixIfPresent(leftTree.toString(), "this.");
      String rightTreeTextRepr = stripPrefixIfPresent(rightTree.toString(), "this.");
      return leftTreeTextRepr.contentEquals(rightTreeTextRepr);
    }