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