Groovy 1.7.0

org.codehaus.groovy.runtime
Class ClassExtender

java.lang.Object
  org.codehaus.groovy.runtime.ClassExtender

class ClassExtender
extends Object

A helper class used by the runtime to allow Groovy classes to be extended at runtime

author:
James Strachan
version:
$Revision: 6778 $


Constructor Summary
ClassExtender()

 
Method Summary
void addMethod(String name, Closure closure)

void call(String name, Object params)

protected Map createMap()

Object get(String name)

void remove(String name)

void removeMethod(String name)

void set(String name, Object value)

 
Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Constructor Detail

ClassExtender

ClassExtender()


 
Method Detail

addMethod

public void addMethod(String name, Closure closure)


call

public void call(String name, Object params)


createMap

protected Map createMap()


get

public Object get(String name)


remove

public void remove(String name)


removeMethod

public void removeMethod(String name)


set

public void set(String name, Object value)


 

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