Package groovy.lang
Interface ClosureInvokingMethod
- All Known Implementing Classes:
- ClosureMetaMethod,- ClosureStaticMetaMethod
public interface ClosureInvokingMethod
An interface for MetaMethods that invoke closures to implements. Used by ExpandoMetaClass
- Since:
- 1.5
- See Also:
- ExpandoMetaClass
- 
Method SummaryModifier and Type Method Description ClosuregetClosure()Returns the original closure that this method invokesjava.lang.StringgetName()The method namebooleanisStatic()Is it a static method?
- 
Method Details- 
getClosureClosure getClosure()Returns the original closure that this method invokes- Returns:
- The closure
 
- 
isStaticboolean isStatic()Is it a static method?- Returns:
- True if it is
 
- 
getNamejava.lang.String getName()The method name- Returns:
- The method name
 
 
-