public class HasRecursiveCalls
extends Object
Check if there are any recursive calls in a method
| Type Params | Return Type | Name and description |
|---|---|---|
|
public boolean |
test(MethodNode method)Tests whether the supplied method contains at least one recursive call. |
Tests whether the supplied method contains at least one recursive call.
method - the method to inspecttrue if the method contains a recursive call; false otherwise