Overview | Package | Class | Deprecated | Index | Help
| Groovy 1.7.0
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD

## groovy.lang
Interface AdaptingMetaClass

    groovy.lang.MetaObjectProtocol
      groovy.lang.AdaptingMetaClass
          groovy.lang.MetaClass

All Superinterfaces:
  MetaObjectProtocol, MetaClass

    interface AdaptingMetaClass
    extends MetaClass

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

author:
  Graeme Rocher

since:
  1.5

Method Summary
`MetaClass` | `getAdaptee()` Returns the MetaClass that this adapter adapts
`void` | `setAdaptee(MetaClass metaClass)` Sets the MetaClass adapted by this MetaClass

Methods inherited from interface MetaClass
getAttribute, getClassNode, getMetaMethods, getMethods, getProperties, getProperty, initialize, invokeMethod, invokeMissingMethod, invokeMissingProperty, pickMethod, selectConstructorAndTransformArguments, setAttribute, setProperty

Methods inherited from interface MetaObjectProtocol
getAttribute, getMetaMethod, getMetaProperty, getMethods, getProperties, getProperty, getStaticMetaMethod, getTheClass, hasProperty, invokeConstructor, invokeMethod, invokeMethod, invokeStaticMethod, respondsTo, respondsTo, setAttribute, setProperty

Method Detail

### getAdaptee

    public MetaClass getAdaptee()

  Returns the MetaClass that this adapter adapts
  return:
    The MetaClass instance

### setAdaptee

    public void setAdaptee(MetaClass metaClass)

  Sets the MetaClass adapted by this MetaClass
  param:
    metaClass The MetaClass to adapt

Copyright © 2003-2009 The Codehaus. All rights reserved.