Top Fields Constructors Methods
org.codehaus.groovy.runtime.wrappers

public abstract Class Wrapper

extends Object
implements GroovyObject
Class Inheritance
All Implemented Interfaces
groovy.lang.GroovyObject
Known Direct Subclasses
org.codehaus.groovy.runtime.wrappers.GroovyObjectWrapper, org.codehaus.groovy.runtime.wrappers.PojoWrapper
Imports
groovy.lang.GroovyObject, .MetaClass

Field Summary

Modifier and TypeField and Description
protected final Class<T>

Constructor Summary

AccessConstructor and Description
public
Wrapper(final Class<T> constrainedType)

Method Summary

Modifier and TypeMethod and Description
protected abstract MetaClass
public MetaClass
getMetaClass()

Implements groovy.lang.GroovyObject.getMetaClass.

Returns the metaclass for a given class.
public Class<T>
protected abstract Object
public abstract Object
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

constrainedTypeback to summary
protected final Class<T> constrainedType

Constructor Detail

Wrapperback to summary
public Wrapper(final Class<T> constrainedType)

Method Detail

getDelegatedMetaClassback to summary
protected abstract MetaClass getDelegatedMetaClass()
getMetaClassback to summary
public MetaClass getMetaClass()

Implements groovy.lang.GroovyObject.getMetaClass.

Doc from groovy.lang.GroovyObject.getMetaClass.

Returns the metaclass for a given class.

Returns:MetaClass

the metaClass of this instance

getTypeback to summary
public Class<T> getType()
getWrappedback to summary
protected abstract Object getWrapped()
unwrapback to summary
public abstract Object unwrap()