public class TernaryToIfStatementConverter extends Object
Since a ternary statement has more than one exit point tail-recursiveness testing cannot be easily done. Therefore this class translates a ternary statement (or Elvis operator) into the equivalent if-else statement.
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | public Statement | convert(ReturnStatement statementWithInnerTernaryExpression) |