- 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.
 
           
    
 
    
        - 
        
        
        
        
        
        
            
        
        
        
        
        
        
        
        
        
        
        
        
            
            - 
                    
Methods Summary
                    
               
            
            - 
                    
Inherited Methods Summary
                    
                    
                        Inherited Methods 
                        
                            | Methods inherited from class | 
                            Name | 
                        
                        
                        
                            class Closure | 
                            andThen, andThenSelf, andThenSelf, asWritable, call, call, call, clone, compose, composeSelf, composeSelf, curry, curry, dehydrate, doCall, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, getProperty, getResolveStrategy, getThisObject, isCase, leftShift, leftShift, memoize, memoizeAtLeast, memoizeAtMost, memoizeBetween, ncurry, ncurry, rcurry, rcurry, rehydrate, rightShift, run, setDelegate, setDirective, setProperty, setResolveStrategy, throwRuntimeException, trampoline, trampoline | 
                        
                        
                            class GroovyObjectSupport | 
                            getMetaClass, setMetaClass | 
                        
                    
                   
               
                
        
        
     
    
 
    
        - 
           
            
            
            
                - 
                    
                
                    
Field Detail
                    
                        
                        
                            - 
                                
public static boolean ALLOW_RESOLVE
                                
                             
                        
                    
                        
                        
                            - 
                                
public static final String ANY_INSTANCE_METHOD_EXISTS
                                
                             
                        
                    
                        
                        
                            - 
                                
public static final String NEW
                                
                             
                        
                    
                 
            
            
            
            
            
            
            
            
            
            
            
                - 
                    
                
                    
Method Detail
                    
                        
                        
                    
                        
                        
                    
                        
                        
                    
                        
                        
                            - 
                                
public Class<?> getOwnerClass()
                                
      
- Since:
 - 5.0.0
 
                             
                        
                    
                        
                        
                    
                 
            
            
         
    
 
    
    
    Copyright © 2003-2022 The Apache Software Foundation. All rights reserved.