Package groovy.lang
Interface ClosureInvokingMethod
- 
- All Known Implementing Classes:
 ClosureMetaMethod,ClosureStaticMetaMethod
public interface ClosureInvokingMethodAn interface for MetaMethods that invoke closures to implements. Used by ExpandoMetaClass- Since:
 - 1.5
 - See Also:
 ExpandoMetaClass
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClosuregetClosure()Returns the original closure that this method invokesjava.lang.StringgetName()The method namebooleanisStatic()Is it a static method? 
 - 
 
- 
- 
Method Detail
- 
getClosure
Closure getClosure()
Returns the original closure that this method invokes- Returns:
 - The closure
 
 
- 
isStatic
boolean isStatic()
Is it a static method?- Returns:
 - True if it is
 
 
- 
getName
java.lang.String getName()
The method name- Returns:
 - The method name
 
 
 - 
 
 -