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

Member predicate LocalVariableDeclExpr::hasAssociatedSwitch

Holds if this is a declaration stemming from a pattern switch case.

predicate hasAssociatedSwitch()