| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Closure | |
| private final CachedClass | |
| private final CachedMethod | |
| private static final Class | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static MetaMethod | |
| public static ClosureMetaMethod | |
| public static List | |
| public Closure | Returns: The closureImplements groovy. |
| public CachedClass | getDeclaringClass()
Implements abstract groovy. |
| public CachedMethod | |
| public int | getModifiers()
Implements abstract groovy. |
| public String | getName()
Implements abstract groovy. Implements groovy. |
| public Class | getReturnType()
Implements abstract groovy. |
| public Object | invoke(final 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 | |
| doCall | back to summary |
|---|---|
| private final CachedMethod doCall | |
| EMPTY_CLASS_ARRAY | back to summary |
|---|---|
| private static final Class<T>[] EMPTY_CLASS_ARRAY | |
| name | back to summary |
|---|---|
| private final String name | |
| ClosureMetaMethod | back to summary |
|---|---|
| public ClosureMetaMethod(String name, Closure<V> c, CachedMethod doCall) | |
| ClosureMetaMethod | back to summary |
|---|---|
| public ClosureMetaMethod(String name, Class<T> declaringClass, Closure<V> c, CachedMethod doCall) | |
| adjustParamTypesForStdMethods | back to summary |
|---|---|
| private static MetaMethod adjustParamTypesForStdMethods(MetaMethod metaMethod, String methodName) | |
| copy | back to summary |
|---|---|
| public static ClosureMetaMethod copy(ClosureMetaMethod closureMethod) | |
| createMethodList | back to summary |
|---|---|
| public static List | |
| 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
| |
| getDoCall | back to summary |
|---|---|
| public CachedMethod getDoCall() | |
| 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(final Object object, Object[] arguments) Implements abstract groovy. Doc from groovy. Invoke this method | |
| Modifier and Type | Field and Description |
|---|---|
| private final Closure | |
| private final Class | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CachedClass | getDeclaringClass()
Implements abstract groovy. |
| public int | getModifiers()
Implements abstract groovy. |
| public String | getName()
Implements abstract 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. |
| closure | back to summary |
|---|---|
| private final Closure<V> closure | |
| declaringClass | back to summary |
|---|---|
| private final Class<T> declaringClass | |
| name | back to summary |
|---|---|
| private final String name | |
| AnonymousMetaMethod | back to summary |
|---|---|
| public AnonymousMetaMethod(Closure<V> closure, String name, Class<T> declaringClass) | |
| 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. Doc from groovy. Returns the name of the method represented by this class
| |
| 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 | |
| Access | Constructor and Description |
|---|---|
| public | MethodClosureMetaMethod(String name, Class<T> declaringClass, Closure<V> closure, CachedMethod method)
|
| Modifier and Type | Method and Description |
|---|---|
| public Object | invoke(Object
The object this method should be invoked on object, Object[] The arguments for the method if applicable arguments)Overrides org. |
| MethodClosureMetaMethod | back to summary |
|---|---|
| public MethodClosureMetaMethod(String name, Class<T> declaringClass, Closure<V> closure, CachedMethod method) | |
| invoke | back to summary |
|---|---|
| public Object invoke(Object object, Object[] arguments) Overrides org. Doc from groovy. Invoke this method | |