|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.runtime.ClassExtender
public class ClassExtender extends java.lang.Object
A helper class used by the runtime to allow Groovy classes to be extended at runtime
Method Summary | |
---|---|
void
|
addMethod(java.lang.String name, Closure closure)
|
void
|
call(java.lang.String name, java.lang.Object params)
|
protected java.util.Map
|
createMap()
|
java.lang.Object
|
get(java.lang.String name)
|
void
|
remove(java.lang.String name)
|
void
|
removeMethod(java.lang.String name)
|
void
|
set(java.lang.String name, java.lang.Object value)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Method Detail |
---|
public void addMethod(java.lang.String name, Closure closure)
public void call(java.lang.String name, java.lang.Object params)
protected java.util.Map createMap()
public java.lang.Object get(java.lang.String name)
public void remove(java.lang.String name)
public void removeMethod(java.lang.String name)
public void set(java.lang.String name, java.lang.Object value)
Groovy Documentation