Groovy 2.2.0

groovy.lang
[Java] Interface AdaptingMetaClass

groovy.lang.MetaObjectProtocol
  groovy.lang.MetaClass
      groovy.lang.AdaptingMetaClass
All Superinterfaces:
MetaObjectProtocol, MetaClass

public interface AdaptingMetaClass
extends MetaClass

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

Authors:
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
Returns:
The MetaClass instance


setAdaptee

public void setAdaptee(MetaClass metaClass)
Sets the MetaClass adapted by this MetaClass
Parameters:
metaClass - The MetaClass to adapt


 

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