Package: org.codehaus.groovy.transform.tailrec

## [Groovy] Class TernaryToIfStatementConverter

- org.codehaus.groovy.transform.tailrec.TernaryToIfStatementConverter

-     @CompileStatic
      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.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `TernaryToIfStatementConverter ()`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `Statement` | `convert(ReturnStatement statementWithInnerTernaryExpression)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Constructor Detail

    - #### TernaryToIfStatementConverter()

  - ### Method Detail

    - #### @SuppressWarnings(value: Instanceof) Statement convert(ReturnStatement statementWithInnerTernaryExpression)