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

Member predicate Stmt::getEnclosingCallable

Gets the immediately enclosing callable (method or constructor) whose body contains this statement.

Callable getEnclosingCallable()