Class MethodClosure

java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Closure
org.codehaus.groovy.runtime.MethodClosure
All Implemented Interfaces:
GroovyCallable, GroovyObject, Serializable, Cloneable, Runnable, Callable

public class MethodClosure extends Closure
Represents a method on an object using a closure which can be invoked at any time
Author:
James Strachan
See Also:
  • Field Details

    • ALLOW_RESOLVE

      public static boolean ALLOW_RESOLVE
  • Constructor Details

    • MethodClosure

      public MethodClosure(Object owner, String method)
  • Method Details