Groovy 1.7.5

groovy.lang
[Java] Interface MetaClass

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

public interface MetaClass
extends MetaObjectProtocol

A MetaClass within Groovy defines the behaviour of any given Groovy or Java class. The MetaClass interface defines two parts. The client API, which is defined via the extend MetaObjectProtocol interface and the contract with the Groovy runtime system. In general the compiler and Groovy runtime engine interact with methods on this class whilst MetaClass clients interact with the method defined by the MetaObjectProtocol interface

Authors:
John Wilson
Graeme Rocher
See Also:
MetaClassImpl
MetaObjectProtocol


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