public class ConvertedMap extends ConversionHandler
This class is a general adapter to adapt a map of closures to any Java interface.
Type Params | Return Type | Name and description |
---|---|---|
|
public Object |
invokeCustom(Object proxy, Method method, Object[] args) |
|
public static boolean |
isCoreObjectMethod(Method method) Checks whether a method is a core method from java.lang.Object. |
|
public String |
toString() |
Methods inherited from class | Name |
---|---|
class ConversionHandler |
equals, getDelegate, hashCode, invoke, invokeCustom, isCoreObjectMethod, toString |
Checks whether a method is a core method from java.lang.Object. Such methods often receive special treatment because they are deemed fundamental enough to not be tampered with. call toString() is an exception to allow overriding toString() by a closure specified in the map
method
- the method to check