Top Description Methods
groovy.lang

public Interface AdaptingMetaClass

extends MetaClass
Known Direct Implementers
groovy.lang.ProxyMetaClass

An interface for MetaClass instances that "adapt" other MetaClass instances such as a proxy or delegating MetaClass.
Since
1.5

Method Summary

Modifier and TypeMethod and Description
public MetaClass

Returns:

The MetaClass instance
getAdaptee
()

Returns the MetaClass that this adapter adapts

public void
setAdaptee(MetaClass
The MetaClass to adapt
metaClass
)

Sets the MetaClass adapted by this MetaClass

Inherited from groovy.lang.MetaClass:
getAttributegetClassNodegetMetaMethodsgetMethodsgetPropertiesgetPropertyinitializeinvokeMethodinvokeMissingMethodinvokeMissingPropertypickMethodselectConstructorAndTransformArgumentssetAttributesetProperty

Method Detail

getAdapteeback to summary
public MetaClass getAdaptee()

Returns the MetaClass that this adapter adapts

Returns:MetaClass

The MetaClass instance

setAdapteeback to summary
public void setAdaptee(MetaClass metaClass)

Sets the MetaClass adapted by this MetaClass

Parameters
metaClass:MetaClass

The MetaClass to adapt