[Java] Class Wrapper
- org.codehaus.groovy.runtime.wrappers.Wrapper
- All Implemented Interfaces and Traits:
- GroovyObject
public abstract class Wrapper extends Object
- Authors:
- John Wilson
Field Summary
Modifiers | Name | Description |
---|---|---|
protected Class | constrainedType |
Constructor Summary
Constructor and description |
---|
Wrapper
(Class constrainedType) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
protected MetaClass |
getDelegatedMetaClass() | |
MetaClass |
getMetaClass() | |
Class |
getType() | |
protected Object |
getWrapped() | |
Object |
unwrap() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail
protected final Class constrainedType
Constructor Detail
public Wrapper(Class constrainedType)
Method Detail
protected MetaClass getDelegatedMetaClass()
public MetaClass getMetaClass()
public Class getType()
protected Object getWrapped()
public Object unwrap()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/runtime/wrappers/Wrapper.html