Groovy Documentation

groovy.lang
[Java] Interface ClosureInvokingMethod


public interface ClosureInvokingMethod

An interface for MetaMethods that invoke closures to implements. Used by ExpandoMetaClass

Authors:
Graeme Rocher
See Also:
ExpandoMetaClass
Since:
1.5


Method Summary
Closure getClosure()

Returns the original closure that this method invokes

java.lang.String getName()

The method name

boolean isStatic()

Is it a static method?

 

Method Detail

getClosure

public Closure getClosure()
Returns the original closure that this method invokes
Returns:
The closure


getName

public java.lang.String getName()
The method name
Returns:
The method name


isStatic

public boolean isStatic()
Is it a static method?
Returns:
True if it is


 

Groovy Documentation