Package org.codehaus.groovy.runtime
Class ClassExtender
- java.lang.Object
-
- org.codehaus.groovy.runtime.ClassExtender
-
public class ClassExtender extends Object
A helper class used by the runtime to allow Groovy classes to be extended at runtime- Author:
- James Strachan
-
-
Constructor Summary
Constructors Constructor Description ClassExtender()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-