Package groovy.lang
Interface AdaptingMetaClass
- All Superinterfaces:
- MetaClass,- MetaObjectProtocol
- All Known Implementing Classes:
- MockProxyMetaClass,- ProxyMetaClass
public interface AdaptingMetaClass extends MetaClass
An interface for MetaClass instances that "adapt" other MetaClass instances such as a proxy or
 delegating MetaClass.
- Since:
- 1.5
- 
Method SummaryModifier and Type Method Description MetaClassgetAdaptee()Returns the MetaClass that this adapter adaptsvoidsetAdaptee(MetaClass metaClass)Sets the MetaClass adapted by this MetaClassMethods inherited from interface groovy.lang.MetaClassgetAttribute, getClassNode, getMetaMethods, getMethods, getProperties, getProperty, initialize, invokeMethod, invokeMissingMethod, invokeMissingProperty, pickMethod, selectConstructorAndTransformArguments, setAttribute, setPropertyMethods inherited from interface groovy.lang.MetaObjectProtocolgetAttribute, getMetaMethod, getMetaProperty, getProperty, getStaticMetaMethod, getTheClass, hasProperty, invokeConstructor, invokeMethod, invokeMethod, invokeStaticMethod, respondsTo, respondsTo, setAttribute, setProperty
- 
Method Details- 
getAdapteeMetaClass getAdaptee()Returns the MetaClass that this adapter adapts- Returns:
- The MetaClass instance
 
- 
setAdapteeSets the MetaClass adapted by this MetaClass- Parameters:
- metaClass- The MetaClass to adapt
 
 
-