Package: org.codehaus.groovy.transform.tailrec

## [Java] Class HasRecursiveCalls

- org.codehaus.groovy.transform.tailrec.HasRecursiveCalls

-     public class HasRecursiveCalls
      extends Object

  Check if there are any recursive calls in a method

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public boolean` | `test(MethodNode method)` Tests whether the supplied method contains at least one recursive call.

  - ### Inherited Methods Summary

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

- - ### Method Detail

    - #### public boolean test(MethodNode method)

      Tests whether the supplied method contains at least one recursive call.

      Parameters:
        `method` - the method to inspect
      Returns:
        `true` if the method contains a recursive call; `false` otherwise