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, wait
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()