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

Member predicate SwitchCase::getRuleStatement

Gets the statement on the right-hand side of the arrow, if any.

Note, this predicate gets a value when this switch case is of the form case e1 -> { s1; s2; ... } or case e1 -> throw .... This predicate is mutually exclusive with getRuleExpression.

Stmt getRuleStatement()