GroovyObjectGroovyObjectWrapper, PojoWrapperpublic abstract class Wrapper extends Object implements GroovyObject
| Modifier and Type | Field | Description |
|---|---|---|
protected Class |
constrainedType |
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract MetaClass |
getDelegatedMetaClass() |
|
MetaClass |
getMetaClass() |
Returns the metaclass for a given class.
|
Class |
getType() |
|
protected abstract Object |
getWrapped() |
|
abstract Object |
unwrap() |
getProperty, invokeMethod, setMetaClass, setPropertyprotected final Class constrainedType
public Wrapper(Class constrainedType)
public MetaClass getMetaClass()
GroovyObjectgetMetaClass in interface GroovyObjectpublic Class getType()
public abstract Object unwrap()
protected abstract Object getWrapped()
protected abstract MetaClass getDelegatedMetaClass()