On this page
[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
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
Field Detail
protected final Class constrainedType
Constructor Detail
public Wrapper(Class constrainedType)
Method Detail
protected abstract MetaClass getDelegatedMetaClass()
@Override public MetaClass getMetaClass()
public Class getType()
protected abstract Object getWrapped()
public abstract Object unwrap()
© 2003-2022 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/4.0.0/html/gapi/org/codehaus/groovy/runtime/wrappers/Wrapper.html