Package groovy.lang
Interface ClosureInvokingMethod
- All Superinterfaces:
MetaMember
- All Known Implementing Classes:
ClosureMetaMethod
,ClosureStaticMetaMethod
An interface for MetaMethods that invoke closures to implements. Used by ExpandoMetaClass
- Since:
- 1.5
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the original closure that this method invokesMethods inherited from interface groovy.lang.MetaMember
getModifiers, getName, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isSynthetic
-
Method Details
-
getClosure
Closure getClosure()Returns the original closure that this method invokes- Returns:
- The closure
-