| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final CachedClass | |
| private final String | |
| private final Class |
| Access | Constructor and Description |
|---|---|
| public | GeneratedMetaMethod(String name, CachedClass declaringClass, Class<T> returnType, Class<T>[] parameters)
|
| 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. |
| declaringClass | back to summary |
|---|---|
| private final CachedClass declaringClass | |
| name | back to summary |
|---|---|
| private final String name | |
| returnType | back to summary |
|---|---|
| private final Class<T> returnType | |
| GeneratedMetaMethod | back to summary |
|---|---|
| public GeneratedMetaMethod(String name, CachedClass declaringClass, Class<T> returnType, Class<T>[] parameters) | |
| 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
| |
| Modifier and Type | Field and Description |
|---|---|
| public String | |
| public String | |
| public Class | |
| private static final Class | |
| public Class | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static List | |
| public static void |
| className | back to summary |
|---|---|
| public String className | |
| methodName | back to summary |
|---|---|
| public String methodName | |
| parameters | back to summary |
|---|---|
| public Class<T>[] parameters | |
| PRIMITIVE_CLASSES | back to summary |
|---|---|
| private static final Class<T>[] PRIMITIVE_CLASSES | |
| returnType | back to summary |
|---|---|
| public Class<T> returnType | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| DgmMethodRecord | back to summary |
|---|---|
| public DgmMethodRecord() | |
| loadDgmInfo | back to summary |
|---|---|
| public static List | |
| saveDgmInfo | back to summary |
|---|---|
| public static void saveDgmInfo(List<GeneratedMetaMethod. | |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private volatile MetaMethod |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public Object | doMethodInvoke(Object
The object the method is to be called at. object, Object[] Arguments for the method invocation. argumentArray)Overrides 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. |
| public boolean | isValidMethod(Class<T>[] arguments)
Overrides org. |
| public final MetaMethod |
| className | back to summary |
|---|---|
| private final String className | |
| proxy | back to summary |
|---|---|
| private volatile MetaMethod proxy | |
| Proxy | back to summary |
|---|---|
| public Proxy(String className, String name, CachedClass declaringClass, Class<T> returnType, Class<T>[] parameters) | |
| createProxy | back to summary |
|---|---|
| private void createProxy() | |
| doMethodInvoke | back to summary |
|---|---|
| public Object doMethodInvoke(Object object, Object[] argumentArray) Overrides groovy. Doc from groovy. Invokes the method this object represents. This method is not final but it should be overloaded very carefully and only by generated methods there is no guarantee that it will be called | |
| invoke | back to summary |
|---|---|
| public Object invoke(Object object, Object[] arguments) Implements abstract groovy. Doc from groovy. Invoke this method | |
| isValidMethod | back to summary |
|---|---|
| public boolean isValidMethod(Class<T>[] arguments) Overrides org.
| |
| proxy | back to summary |
|---|---|
| public final MetaMethod proxy() | |