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

Member predicate Element::getCompilationUnit

Gets the compilation unit that this element belongs to.

CompilationUnit getCompilationUnit()