@java.lang.SuppressWarnings({"unchecked", "rawtypes"})
public class ClosureToMapPopulator
extends GroovyObjectSupport
A simple class that takes method invocations and property setters and populates the arguments of these into the supplied map ignoring null values.
| Constructor and description |
|---|
ClosureToMapPopulator(java.util.Map theMap) |
ClosureToMapPopulator() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public java.lang.Object |
invokeMethod(java.lang.String name, java.lang.Object o) |
|
public java.util.Map |
populate(Closure callable) |
|
public void |
setProperty(java.lang.String name, java.lang.Object o) |
| Methods inherited from class | Name |
|---|---|
class GroovyObjectSupport |
equals, getClass, getMetaClass, getProperty, hashCode, invokeMethod, notify, notifyAll, setMetaClass, setProperty, toString, wait, wait, wait |