Files
codeql/java/ql/lib/change-notes/2026-02-04-renames.md
Anders Schack-Mulligen 2d02908e7f Java: Add change note.
2026-02-04 14:43:32 +01:00

523 B

category
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.