Class Wrapper
- java.lang.Object
 - 
- org.codehaus.groovy.runtime.wrappers.Wrapper
 
 
- 
- All Implemented Interfaces:
 GroovyObject
- Direct Known Subclasses:
 GroovyObjectWrapper,PojoWrapper
public abstract class Wrapper extends Object implements GroovyObject
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected ClassconstrainedType 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract MetaClassgetDelegatedMetaClass()MetaClassgetMetaClass()Returns the metaclass for a given class.ClassgetType()protected abstract ObjectgetWrapped()abstract Objectunwrap()- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface groovy.lang.GroovyObject
getProperty, invokeMethod, setMetaClass, setProperty 
 - 
 
 - 
 
- 
- 
Field Detail
- 
constrainedType
protected final Class constrainedType
 
 - 
 
- 
Constructor Detail
- 
Wrapper
public Wrapper(Class constrainedType)
 
 - 
 
- 
Method Detail
- 
getMetaClass
public MetaClass getMetaClass()
Description copied from interface:GroovyObjectReturns the metaclass for a given class.- Specified by:
 getMetaClassin interfaceGroovyObject- Returns:
 - the metaClass of this instance
 
 
- 
getType
public Class getType()
 
- 
unwrap
public abstract Object unwrap()
 
- 
getWrapped
protected abstract Object getWrapped()
 
- 
getDelegatedMetaClass
protected abstract MetaClass getDelegatedMetaClass()
 
 - 
 
 -