public static class TypeCheckingContext.EnclosingClosure extends Object
Represents the context of an enclosing closure. An enclosing closure wraps a closure expression and the list of return types found in the closure body.
| Constructor and description | 
|---|
| EnclosingClosure(ClosureExpression closureExpression) | 
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | public void | addReturnType(ClassNode type) | 
|  | public ClosureExpression | getClosureExpression() | 
|  | public List<ClassNode> | getReturnTypes() | 
|  | public String | toString() | 
Copyright © 2003-2025 The Apache Software Foundation. All rights reserved.