CodeQL library for Java
Search

Member predicate Element::getCompilationUnit

Gets the compilation unit that this element belongs to.

CompilationUnit getCompilationUnit()