Package: org.codehaus.groovy.transform.tailrec

## [Java] Class CollectRecursiveCalls

- org.codehaus.groovy.transform.tailrec.CollectRecursiveCalls

-     public class CollectRecursiveCalls
      extends Object

  Collect all recursive calls within method

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public List<Expression>` | `collect(MethodNode method)` Collects recursive call expressions from the supplied method.

  - ### Inherited Methods Summary

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

- - ### Method Detail

    - #### public List<Expression> collect(MethodNode method)

      Collects recursive call expressions from the supplied method.

      Parameters:
        `method` - the method to inspect
      Returns:
        the recursive calls found in the method body