public class ObjectConverter extends Object implements groovy.lang.GroovyObject
| Constructor and Description |
|---|
ObjectConverter() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canConvert(Object object,
Class type) |
static <T> Object |
convertObjectTo(Object object,
Class explicitType) |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectCopyright © 2010–2019. All rights reserved.