[Groovy] Class HasRecursiveCalls
- org.codehaus.groovy.transform.tailrec.HasRecursiveCalls
@CompileStatic class HasRecursiveCalls extends CodeVisitorSupport
Check if there are any recursive calls in a method
Properties Summary
Type | Name and description |
---|---|
boolean |
hasRecursiveCalls |
MethodNode |
method |
Constructor Summary
Constructor and description |
---|
HasRecursiveCalls
() |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
boolean |
test(MethodNode method) | |
void |
visitMethodCallExpression(MethodCallExpression call) | |
void |
visitStaticMethodCallExpression(StaticMethodCallExpression call) |
Inherited Methods Summary
Property Detail
boolean hasRecursiveCalls
MethodNode method
Constructor Detail
HasRecursiveCalls()
Method Detail
boolean test(MethodNode method)
void visitMethodCallExpression(MethodCallExpression call)
void visitStaticMethodCallExpression(StaticMethodCallExpression call)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/transform/tailrec/HasRecursiveCalls.html