public abstract class Wrapper extends java.lang.Object implements GroovyObject
Modifier and Type | Field and Description |
---|---|
protected java.lang.Class |
constrainedType |
protected MetaClass |
delegatingMetaClass
Deprecated.
|
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
@Deprecated protected MetaClass delegatingMetaClass
protected final java.lang.Class constrainedType
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()