Test if a method call is recursive if called within a given method node. Handles static calls as well. Currently known simplifications:
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
isRecursive(def params) |
|
boolean |
isRecursive(MethodNode method, MethodCallExpression call) |
|
boolean |
isRecursive(MethodNode method, StaticMethodCallExpression call) |