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

Member predicate Stmt::getEnclosingCallable

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

Callable getEnclosingCallable()