org.codehaus.groovy.runtime.wrappers
public abstract class Wrapper extends java.lang.Object implements GroovyObject
Modifier and Type | Field and Description |
---|---|
protected java.lang.Class |
constrainedType |
protected MetaClass |
delegatingMetaClass |
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
protected MetaClass delegatingMetaClass
protected final java.lang.Class constrainedType
public MetaClass getMetaClass()
GroovyObject
getMetaClass
in interface GroovyObject
public abstract java.lang.Object unwrap()
public java.lang.Class getType()
protected abstract java.lang.Object getWrapped()
protected abstract MetaClass getDelegatedMetaClass()