|
Groovy 1.7.8 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.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(Map closures)
to create a ConvertedMap object. |
|
| Method Summary | |
|---|---|
protected boolean
|
checkMethod(Method method)
|
Object
|
invokeCustom(Object proxy, Method method, Object[] args)
|
static boolean
|
isCoreObjectMethod(Method method)
Checks whether a method is a core method from java.lang.Object. |
String
|
toString()
|
| Methods inherited from class ConversionHandler | |
|---|---|
| checkMethod, equals, getDelegate, hashCode, invoke, invokeCustom, isCoreObjectMethod, toString |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Constructor Detail |
|---|
protected ConvertedMap(Map closures)
closures - the map of closures
| Method Detail |
|---|
protected boolean checkMethod(Method method)
public Object invokeCustom(Object proxy, Method method, Object[] args)
public static boolean isCoreObjectMethod(Method method)
method - the method to check
public String toString()
Copyright © 2003-2010 The Codehaus. All rights reserved.