[Java] Class Wrapper
- org.codehaus.groovy.runtime.wrappers.Wrapper
- All Implemented Interfaces and Traits:
- GroovyObject
public abstract class Wrapper extends Object implements GroovyObject
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 abstract MetaClass |
getDelegatedMetaClass() | |
public MetaClass |
getMetaClass() | |
public Class |
getType() | |
protected abstract Object |
getWrapped() | |
public abstract 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 abstract MetaClass getDelegatedMetaClass()
public MetaClass getMetaClass()
public Class getType()
protected abstract Object getWrapped()
public abstract Object unwrap()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/runtime/wrappers/Wrapper.html