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

Member predicate Expr::isInStaticContext

Holds if this expression occurs in a static context.

predicate isInStaticContext()