|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.runtime.ConversionHandler org.codehaus.groovy.runtime.ConvertedMap
public class ConvertedMap extends ConversionHandler
This class is a general adapter to adapt a map of closures to any Java interface.
Constructor Summary | |
protected ConvertedMap(java.util.Map closures)
to create a ConvertedMap object. |
Method Summary | |
---|---|
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)
|
static boolean
|
isCoreObjectMethod(java.lang.reflect.Method method)
Checks whether a method is a core method from java.lang.Object. |
java.lang.String
|
toString()
|
Methods inherited from class ConversionHandler | |
---|---|
checkMethod, equals, getDelegate, hashCode, invoke, invokeCustom, isCoreObjectMethod, toString |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructor Detail |
---|
protected ConvertedMap(java.util.Map closures)
closures
- the map of closures
Method Detail |
---|
protected boolean checkMethod(java.lang.reflect.Method method)
public java.lang.Object invokeCustom(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
public static boolean isCoreObjectMethod(java.lang.reflect.Method method)
method
- the method to check
public java.lang.String toString()
Groovy Documentation