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 java.lang.Object implements GroovyObject 
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.ClassconstrainedType
 - 
Constructor SummaryConstructors Constructor Description Wrapper(java.lang.Class constrainedType)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract MetaClassgetDelegatedMetaClass()MetaClassgetMetaClass()Returns the metaclass for a given class.java.lang.ClassgetType()protected abstract java.lang.ObjectgetWrapped()abstract java.lang.Objectunwrap()- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface groovy.lang.GroovyObjectgetProperty, invokeMethod, setMetaClass, setProperty
 
- 
 
- 
- 
- 
Method Detail- 
getMetaClasspublic MetaClass getMetaClass() Description copied from interface:GroovyObjectReturns the metaclass for a given class.- Specified by:
- getMetaClassin interface- GroovyObject
- Returns:
- the metaClass of this instance
 
 - 
getTypepublic java.lang.Class getType() 
 - 
unwrappublic abstract java.lang.Object unwrap() 
 - 
getWrappedprotected abstract java.lang.Object getWrapped() 
 - 
getDelegatedMetaClassprotected abstract MetaClass getDelegatedMetaClass() 
 
- 
 
-