GroovyObject
GroovyObjectWrapper
, PojoWrapper
public 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, setProperty
protected final Class constrainedType
public Wrapper(Class constrainedType)
public MetaClass getMetaClass()
GroovyObject
getMetaClass
in interface GroovyObject
public Class getType()
public abstract Object unwrap()
protected abstract Object getWrapped()
protected abstract MetaClass getDelegatedMetaClass()