We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c961a31 commit 421a548Copy full SHA for 421a548
java/ql/src/semmle/code/java/Expr.qll
@@ -61,7 +61,7 @@ class Expr extends ExprParent, @expr {
61
Stmt getEnclosingStmt() { statementEnclosingExpr(this, result) }
62
63
/**
64
- * Gets a statement that transitively contains this expression, if any.
+ * Gets a statement that directly or transitively contains this expression, if any.
65
* This is equivalent to `this.getEnclosingStmt().getEnclosingStmt*()`.
66
*/
67
Stmt getAnEnclosingStmt() { result = this.getEnclosingStmt().getEnclosingStmt*() }
0 commit comments