groovy.lang
Class ExpandoMetaClass.SubClassDefiningClosure

java.lang.Object
  extended by groovy.lang.GroovyObjectSupport
      extended by groovy.lang.ExpandoMetaClass.SubClassDefiningClosure
All Implemented Interfaces:
GroovyObject
Enclosing class:
ExpandoMetaClass

private class ExpandoMetaClass.SubClassDefiningClosure
extends GroovyObjectSupport


Field Summary
private  java.lang.Class klazz
           
 
Constructor Summary
ExpandoMetaClass.SubClassDefiningClosure(java.lang.Class klazz)
           
 
Method Summary
 java.lang.Object invokeMethod(java.lang.String name, java.lang.Object obj)
          Invokes the given method.
 
Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, getProperty, setMetaClass, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

klazz

private final java.lang.Class klazz
Constructor Detail

ExpandoMetaClass.SubClassDefiningClosure

public ExpandoMetaClass.SubClassDefiningClosure(java.lang.Class klazz)
Method Detail

invokeMethod

public java.lang.Object invokeMethod(java.lang.String name,
                                     java.lang.Object obj)
Description copied from interface: GroovyObject
Invokes the given method.

Specified by:
invokeMethod in interface GroovyObject
Overrides:
invokeMethod in class GroovyObjectSupport
Parameters:
name - the name of the method to call
obj - the arguments to use for the method call
Returns:
the result of invoking the method


Copyright © ${year} The Codehaus. All Rights Reserved.