If true, uses deterministic ids for the labels (e.g. switch_exit_0, sw1_case_3, ...). Otherwise, uses $jp.astId whenever possible.
Protected
_nameName of the pass
Protected
_traversalName of the pass
Order in which the join point's descendants should be visited
Apply tranformation to
Joinpoint on which the pass will be applied
Results of applying this pass to the given joinpoint
Selects the join points and its descendants, if needed, according to the traversalType
The point in the code from which to select
Array of join points selected
Inserts the label and instructions of each case in the provided switch statement
the switch statement
Applies this pass starting at the given join point. If no join point is given, uses the root join point
Joint point on which the pass will be applied
Results of applying this pass to the given joint point
Transformation to be applied to matching joinpoints
Join point to transform
Transforms a switch statement into an if statement.
This means that code like this:
Will be transformed into: