Class TypeCheckingContext.EnclosingClosure
java.lang.Object
org.codehaus.groovy.transform.stc.TypeCheckingContext.EnclosingClosure
- Enclosing class:
- TypeCheckingContext
public static class TypeCheckingContext.EnclosingClosure
extends java.lang.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 SummaryConstructors Constructor Description EnclosingClosure(ClosureExpression closureExpression)
- 
Method SummaryModifier and Type Method Description voidaddReturnType(ClassNode type)ClosureExpressiongetClosureExpression()java.util.List<ClassNode>getReturnTypes()java.lang.StringtoString()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- 
Constructor Details- 
EnclosingClosure
 
- 
- 
Method Details- 
getClosureExpression
- 
getReturnTypes
- 
addReturnType
- 
toStringpublic java.lang.String toString()- Overrides:
- toStringin class- java.lang.Object
 
 
-