CodeQL library for Java/Kotlin
codeql/java-all 0.9.0 (changelog, source)
Search

Member predicate Expr::getAnEnclosingStmt

Gets a statement that directly or transitively contains this expression, if any. This is equivalent to this.getEnclosingStmt().getEnclosingStmt*().

Stmt getAnEnclosingStmt()