| Modifier and Type | Field and Description |
|---|---|
| private final Closure | |
| private final CachedClass | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | ClosureStaticMetaMethod(String
The name of the MetaMethod name, Class<T> The class which declared the MetaMethod declaringClass, Closure<V> The closure that this ClosureMetaMethod will invoke when called c)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Closure | Returns: The closureImplements groovy. |
| public CachedClass | getDeclaringClass()
Implements abstract groovy. |
| public int | getModifiers()
Implements abstract groovy. |
| public String | getName()
Implements abstract groovy. Implements groovy. |
| public Class | getReturnType()
Implements abstract groovy. |
| public Object | invoke(Object
The object this method should be invoked on object, Object[] The arguments for the method if applicable arguments)Implements abstract groovy. |
| callable | back to summary |
|---|---|
| private final Closure<V> callable | |
| declaringClass | back to summary |
|---|---|
| private final CachedClass declaringClass | |
| name | back to summary |
|---|---|
| private final String name | |
| ClosureStaticMetaMethod | back to summary |
|---|---|
| public ClosureStaticMetaMethod(String name, Class<T> declaringClass, Closure<V> c) | |
| ClosureStaticMetaMethod | back to summary |
|---|---|
| public ClosureStaticMetaMethod(String name, Class<T> declaringClass, Closure<V> c, Class<T>[] paramTypes) | |
| getClosure | back to summary |
|---|---|
| public Closure Implements groovy. Retrieves the closure that is invoked by this MetaMethod
| |
| getDeclaringClass | back to summary |
|---|---|
| public CachedClass getDeclaringClass() Implements abstract groovy. Doc from groovy. Gets the class where this method is declared
| |
| getModifiers | back to summary |
|---|---|
| public int getModifiers() Implements abstract groovy. Doc from groovy. Returns the modifiers for this method
| |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract groovy. Implements groovy. Doc from groovy. The method name
| |
| getReturnType | back to summary |
|---|---|
| public Class Implements abstract groovy. Doc from groovy. Access the return type for this method
| |
| invoke | back to summary |
|---|---|
| public Object invoke(Object object, Object[] arguments) Implements abstract groovy. Doc from groovy. Invoke this method | |