Class ClosureMetaMethod

  • All Implemented Interfaces:
    ClosureInvokingMethod, Cloneable

    public class ClosureMetaMethod
    extends MetaMethod
    implements ClosureInvokingMethod
    A MetaMethod that accepts a closure in the constructor which is invoked when the MetaMethod is called. The delegate of the closure is set to the instance that the MetaMethod is invoked on when called.
    Since:
    1.5