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

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()