mirror of
https://github.com/github/codeql.git
synced 2026-03-01 13:23:49 +01:00
Update java/ql/src/semmle/code/java/Expr.qll
This commit is contained in:
committed by
GitHub
parent
c961a31789
commit
421a548e42
@@ -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*() }
|
||||
|
||||
Reference in New Issue
Block a user