org.codehaus.groovy.runtime
Class GroovyCategorySupport

java.lang.Object
  extended byorg.codehaus.groovy.runtime.GroovyCategorySupport

public class GroovyCategorySupport
extends Object

Author:
sam

Constructor Summary
GroovyCategorySupport()
           
 
Method Summary
static List getCategoryMethods(Class categorizedClass, String name)
          This method is used to pull all the new methods out of the local thread context with a particular name.
static void use(Class clazz, Closure closure)
           
static void use(List classes, Closure closure)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroovyCategorySupport

public GroovyCategorySupport()
Method Detail

getCategoryMethods

public static List getCategoryMethods(Class categorizedClass,
                                      String name)
This method is used to pull all the new methods out of the local thread context with a particular name.

Parameters:
categorizedClass -
name -
Returns:

use

public static void use(Class clazz,
                       Closure closure)
Parameters:
clazz -
closure -

use

public static void use(List classes,
                       Closure closure)
Parameters:
classes -
closure -


Copyright © 2003-2005 The Codehaus. All Rights Reserved.