public interface WriteMutator extends ClassMutator
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCreate(String className)
Checks if this mutator can create instances of the given class name
|
Enum |
get(String enumClassName,
String enumStringName) |
Object |
newInstance(String className)
Given the Fully qualified class name, return an instance of the said class
|
<T> boolean |
set(T instance,
String field,
Object value)
Sets the given field to the value provided on the instance of class T
|
<T> boolean set(T instance,
String field,
Object value)
instance - the instance to set the value onfield - the field to be setvalue - the value to set the field toObject newInstance(String className)
className - the FQNboolean canCreate(String className)
className - The fully qualified class nameCopyright © 2012-2015. All Rights Reserved.