public abstract class Wrapper extends java.lang.Object implements GroovyObject
Modifier and Type | Field and Description |
---|---|
protected java.lang.Class |
constrainedType |
Constructor and Description |
---|
Wrapper(java.lang.Class constrainedType) |
Modifier and Type | Method and Description |
---|---|
protected abstract MetaClass |
getDelegatedMetaClass() |
MetaClass |
getMetaClass()
Returns the metaclass for a given class.
|
java.lang.Class |
getType() |
protected abstract java.lang.Object |
getWrapped() |
abstract java.lang.Object |
unwrap() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProperty, invokeMethod, setMetaClass, setProperty
public MetaClass getMetaClass()
GroovyObject
getMetaClass
in interface GroovyObject
public java.lang.Class getType()
public abstract java.lang.Object unwrap()
protected abstract java.lang.Object getWrapped()
protected abstract MetaClass getDelegatedMetaClass()