mirror of
https://github.com/github/codeql.git
synced 2026-02-12 05:01:06 +01:00
Java: Add change note.
This commit is contained in:
12
java/ql/lib/change-notes/2026-02-04-renames.md
Normal file
12
java/ql/lib/change-notes/2026-02-04-renames.md
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
category: deprecated
|
||||
---
|
||||
* Renamed the following predicates to increase uniformity across languages. The `getBody` predicate already existed on `LoopStmt`, but is now properly inherited.
|
||||
- `UnaryExpr.getExpr` to `getOperand`.
|
||||
- `ConditionalExpr.getTrueExpr` to `getThen`.
|
||||
- `ConditionalExpr.getFalseExpr` to `getElse`.
|
||||
- `ReturnStmt.getResult` to `getExpr`.
|
||||
- `WhileStmt.getStmt` to `getBody`.
|
||||
- `DoStmt.getStmt` to `getBody`.
|
||||
- `ForStmt.getStmt` to `getBody`.
|
||||
- `EnhancedForStmt.getStmt` to `getBody`.
|
||||
Reference in New Issue
Block a user