Update java/ql/src/semmle/code/java/Expr.qll

This commit is contained in:
Anders Schack-Mulligen
2020-06-12 09:24:37 +02:00
committed by GitHub
parent c961a31789
commit 421a548e42

View File

@@ -61,7 +61,7 @@ class Expr extends ExprParent, @expr {
Stmt getEnclosingStmt() { statementEnclosingExpr(this, result) }
/**
* Gets a statement that transitively contains this expression, if any.
* Gets a statement that directly or transitively contains this expression, if any.
* This is equivalent to `this.getEnclosingStmt().getEnclosingStmt*()`.
*/
Stmt getAnEnclosingStmt() { result = this.getEnclosingStmt().getEnclosingStmt*() }