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

Member predicate Element::getCompilationUnit

Gets the compilation unit that this element belongs to.

CompilationUnit getCompilationUnit()