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

Member predicate Element::getCompilationUnit

Gets the compilation unit that this element belongs to.

CompilationUnit getCompilationUnit()