groovyx.gpars.pa
Class CallClosure

java.lang.Object
  extended by groovy.lang.GroovyObjectSupport
      extended by groovy.lang.Closure
          extended by groovyx.gpars.pa.CallClosure
All Implemented Interfaces:
groovy.lang.GroovyObject, java.io.Serializable, java.lang.Cloneable, java.lang.Runnable

public final class CallClosure
extends groovy.lang.Closure

A call-forwarding closure

Author:
Vaclav Pech
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
private  groovy.lang.Closure target
           
 
Fields inherited from class groovy.lang.Closure
DELEGATE_FIRST, DELEGATE_ONLY, DONE, maximumNumberOfParameters, OWNER_FIRST, OWNER_ONLY, parameterTypes, SKIP, TO_SELF
 
Constructor Summary
CallClosure(groovy.lang.Closure target)
           
 
Method Summary
 java.lang.Object call()
           
 java.lang.Object call(java.lang.Object arguments)
           
 java.lang.Object call(java.lang.Object[] args)
           
 java.lang.Object clone()
           
 
Methods inherited from class groovy.lang.Closure
asWritable, curry, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, getProperty, getResolveStrategy, getThisObject, isCase, ncurry, rcurry, run, setDelegate, setDirective, setProperty, setResolveStrategy, throwRuntimeException
 
Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, invokeMethod, setMetaClass
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

target

private final groovy.lang.Closure target

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

CallClosure

public CallClosure(groovy.lang.Closure target)
Method Detail

call

public java.lang.Object call(java.lang.Object[] args)
Overrides:
call in class groovy.lang.Closure

call

public java.lang.Object call()
Overrides:
call in class groovy.lang.Closure

call

public java.lang.Object call(java.lang.Object arguments)
Overrides:
call in class groovy.lang.Closure

clone

public java.lang.Object clone()
Overrides:
clone in class groovy.lang.Closure

Copyright © 2008–2010 Václav Pech. All Rights Reserved.