Java: Fix qldoc

This commit is contained in:
Anders Schack-Mulligen
2026-02-05 10:37:19 +01:00
parent 32fe12a6dd
commit 11003e685d
2 changed files with 8 additions and 8 deletions

View File

@@ -1040,7 +1040,7 @@ class ReferenceEqualityTest extends EqualityTest {
/** A common super-class that represents unary operator expressions. */
class UnaryExpr extends Expr, @unaryexpr {
/**
* DEPRECATED: Use getOperand() instead.
* DEPRECATED: Use `getOperand()` instead.
*
* Gets the operand expression.
*/
@@ -1464,7 +1464,7 @@ class ConditionalExpr extends Expr, @conditionalexpr {
Expr getCondition() { result.isNthChildOf(this, 0) }
/**
* DEPRECATED: Use getThen() instead.
* DEPRECATED: Use `getThen()` instead.
*
* Gets the expression that is evaluated if the condition of this
* conditional expression evaluates to `true`.
@@ -1472,7 +1472,7 @@ class ConditionalExpr extends Expr, @conditionalexpr {
deprecated Expr getTrueExpr() { result.isNthChildOf(this, 1) }
/**
* DEPRECATED: Use getElse() instead.
* DEPRECATED: Use `getElse()` instead.
*
* Gets the expression that is evaluated if the condition of this
* conditional expression evaluates to `false`.

View File

@@ -168,7 +168,7 @@ class ForStmt extends ConditionalStmt, LoopStmtImpl, @forstmt {
}
/**
* DEPRECATED: Use getBody() instead.
* DEPRECATED: Use `getBody()` instead.
*
* Gets the body of this `for` loop.
*/
@@ -216,7 +216,7 @@ class EnhancedForStmt extends LoopStmtImpl, @enhancedforstmt {
Expr getExpr() { result.isNthChildOf(this, 1) }
/**
* DEPRECATED: Use getBody() instead.
* DEPRECATED: Use `getBody()` instead.
*
* Gets the body of this enhanced `for` loop.
*/
@@ -240,7 +240,7 @@ class WhileStmt extends ConditionalStmt, LoopStmtImpl, @whilestmt {
override Expr getCondition() { result.getParent() = this }
/**
* DEPRECATED: Use getBody() instead.
* DEPRECATED: Use `getBody()` instead.
*
* Gets the body of this `while` loop.
*/
@@ -264,7 +264,7 @@ class DoStmt extends ConditionalStmt, LoopStmtImpl, @dostmt {
override Expr getCondition() { result.getParent() = this }
/**
* DEPRECATED: Use getBody() instead.
* DEPRECATED: Use `getBody()` instead.
*
* Gets the body of this `do` loop.
*/
@@ -642,7 +642,7 @@ class SynchronizedStmt extends Stmt, @synchronizedstmt {
/** A `return` statement. */
class ReturnStmt extends Stmt, @returnstmt {
/**
* DEPRECATED: Use getExpr() instead.
* DEPRECATED: Use `getExpr()` instead.
*
* Gets the expression returned by this `return` statement, if any.
*/