|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
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, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail |
---|
public void addMethod(String name, Closure closure)
public void call(String name, Object params)
protected Map createMap()
public Object get(String name)
public void remove(String name)
public void removeMethod(String name)
public void set(String name, Object value)
Copyright © 2003-2013 The Codehaus. All rights reserved.