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

Member predicate LocalVariableDeclExpr::hasAssociatedSwitch

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

predicate hasAssociatedSwitch()