public abstract class Wrapper extends Object implements GroovyObject
| Modifier and Type | Field and Description |
|---|---|
protected Class |
constrainedType |
| Modifier and Type | Method and Description |
|---|---|
protected abstract MetaClass |
getDelegatedMetaClass() |
MetaClass |
getMetaClass()
Returns the metaclass for a given class.
|
Class |
getType() |
protected abstract Object |
getWrapped() |
abstract Object |
unwrap() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProperty, 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()