[Java] Interface ClosureInvokingMethod

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

See Also:
ExpandoMetaClass
Authors:
Graeme Rocher
Since:
1.5

Methods Summary

Methods
Type Params Return Type Name and description
Closure getClosure()
Returns the original closure that this method invokes
String getName()
The method name
boolean isStatic()
Is it a static method?

Method Detail

public Closure getClosure()

Returns the original closure that this method invokes

Returns:
The closure

public String getName()

The method name

Returns:
The method name

public boolean isStatic()

Is it a static method?

Returns:
True if it is

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/groovy/lang/ClosureInvokingMethod.html