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

Member predicate RefType::isTopLevel

Holds if this is a top-level type, which is not nested inside any other types.

predicate isTopLevel()