Package com.blackbuild.klum.ast
Class NamedAnnotationMemberClosure<T>
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Closure<T>
com.blackbuild.klum.ast.NamedAnnotationMemberClosure<T>
- Type Parameters:
T-
- All Implemented Interfaces:
groovy.lang.GroovyCallable<T>,groovy.lang.GroovyObject,Serializable,Cloneable,Runnable,Callable<T>
- Direct Known Subclasses:
NoClosure,Validate.GroovyTruth,Validate.Ignore
public abstract class NamedAnnotationMemberClosure<T>
extends groovy.lang.Closure<T>
Dummy annotation to mark a member field accepting a closure as a special value
(like Undefine, Ignored, etc.), i.e. the closure will not be executed, but a special
handling is done. This allows to mark the member as Class<? extends Closure> instead
of simply class, reducing the need for manual validation.
- See Also:
-
Field Summary
Fields inherited from class groovy.lang.Closure
DELEGATE_FIRST, DELEGATE_ONLY, DONE, IDENTITY, maximumNumberOfParameters, OWNER_FIRST, OWNER_ONLY, parameterTypes, SKIP, TO_SELF -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNamedAnnotationMemberClosure(Object owner, Object thisObject) -
Method Summary
Methods inherited from class groovy.lang.Closure
andThen, andThenSelf, andThenSelf, asWritable, call, call, call, clone, compose, composeSelf, composeSelf, curry, curry, dehydrate, 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, trampolineMethods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, setMetaClassMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface groovy.lang.GroovyObject
invokeMethod
-
Constructor Details
-
NamedAnnotationMemberClosure
-
-
Method Details
-
doCall
-
doCall
-
doCall
-