Class HasRecursiveCalls
java.lang.Object
org.codehaus.groovy.transform.tailrec.HasRecursiveCalls
Check if there are any recursive calls in a method
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleantest(MethodNode method) Tests whether the supplied method contains at least one recursive call.
-
Constructor Details
-
HasRecursiveCalls
public HasRecursiveCalls()
-
-
Method Details
-
test
Tests whether the supplied method contains at least one recursive call.- Parameters:
method- the method to inspect- Returns:
trueif the method contains a recursive call;falseotherwise
-