mirror of
https://github.com/github/codeql.git
synced 2026-02-11 20:51:06 +01:00
Merge pull request #21304 from aschackmull/java/deprecation-followup
Java: Add delayed deprecation annotation.
This commit is contained in:
@@ -646,7 +646,7 @@ class ReturnStmt extends Stmt, @returnstmt {
|
||||
*
|
||||
* Gets the expression returned by this `return` statement, if any.
|
||||
*/
|
||||
Expr getResult() { result.getParent() = this }
|
||||
deprecated Expr getResult() { result.getParent() = this }
|
||||
|
||||
/** Gets the expression returned by this `return` statement, if any. */
|
||||
Expr getExpr() { result.getParent() = this }
|
||||
|
||||
Reference in New Issue
Block a user