org.codehaus.groovy.runtime
[Java] Class MethodClosure
java.lang.Object
  
groovy.lang.GroovyObjectSupport
      
groovy.lang.Closure
          
org.codehaus.groovy.runtime.MethodClosure
public class MethodClosure
extends Closure
 Represents a method on an object using a closure which can be invoked
 at any time
 
- Authors:
 - James Strachan
 
- Version:
 - \$Revision: 19869 \$
 
                     
                 
    
     
    
     
                | 
                Methods inherited from class Closure
                 | 
                | asWritable, call, call, call, clone, curry, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, getProperty, getResolveStrategy, getThisObject, isCase, ncurry, rcurry, run, setDelegate, setDirective, setProperty, setResolveStrategy, throwRuntimeException | 
                
                 
                 
                 
    
    
        
        MethodClosure
        public MethodClosure(Object owner, String method)
        
        - 
        
 
        
        
        
    
     
    
    
        
        doCall
        protected Object doCall(Object arguments)
        
        - 
        
 
        
        
        
    
        
        getMethod
        public String getMethod()
        
        - 
        
 
        
        
        
    
        
        getProperty
        public Object getProperty(String property)
        
        - 
        
 
        
        
        
    
     
Copyright © 2003-2010 The Codehaus. All rights reserved.