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

Member predicate LocalVariableDeclExpr::getAssociatedSwitch

Gets the switch statement or expression whose pattern declares this identifier, if any.

SwitchBlock getAssociatedSwitch()