Skip to content

Conversation

@aschackmull
Copy link
Contributor

Followup for #21267

@aschackmull aschackmull added the no-change-note-required This PR does not need a change note label Feb 10, 2026
@github-actions github-actions bot added the Java label Feb 10, 2026
@aschackmull aschackmull marked this pull request as ready for review February 10, 2026 14:31
@aschackmull aschackmull requested a review from a team as a code owner February 10, 2026 14:31
Copilot AI review requested due to automatic review settings February 10, 2026 14:31
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a formal deprecation marker for a legacy Java AST accessor in the CodeQL library, following the prior AST predicate renaming work in #21267.

Changes:

  • Mark ReturnStmt.getResult() as deprecated to steer users toward getExpr().
  • Keep the existing replacement accessor (getExpr()) unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Java no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants