CodeQL library for Java/Kotlin
codeql/java-all 1.1.2-dev (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()