public class ConvertedMap extends ConversionHandler
| Modifier | Constructor and Description |
|---|---|
protected |
ConvertedMap(java.util.Map closures)
to create a ConvertedMap object.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkMethod(java.lang.reflect.Method method) |
java.lang.Object |
invokeCustom(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
This method is called for all Methods not defined on Object.
|
static boolean |
isCoreObjectMethod(java.lang.reflect.Method method)
Checks whether a method is a core method from java.lang.Object.
|
java.lang.String |
toString()
Returns a String version of the delegate.
|
equals, getDelegate, hashCode, invoke, isDefaultMethodprotected ConvertedMap(java.util.Map closures)
closures - the map of closurespublic java.lang.Object invokeCustom(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
ConversionHandlerinvokeCustom in class ConversionHandlerproxy - the proxymethod - the methodargs - the argumentsjava.lang.Throwable - any exception causes by the delegateConversionHandler.invoke(Object, Method, Object[]),
InvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])public java.lang.String toString()
ConversionHandlertoString in class ConversionHandlerObject.toString()protected boolean checkMethod(java.lang.reflect.Method method)
checkMethod in class ConversionHandlerpublic static boolean isCoreObjectMethod(java.lang.reflect.Method method)
method - the method to check