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

Member predicate LocalVariableDeclExpr::hasAssociatedSwitch

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

predicate hasAssociatedSwitch()