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

Member predicate SwitchCase :: getRuleExpression

Gets the expression 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 -> e2, where e2 is neither a block nor a throw statement. This predicate is mutually exclusive with getRuleStatement.

Expr getRuleExpression ( )