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