net.vidageek.mirror.set
Class FieldSetterByField
java.lang.Object
net.vidageek.mirror.set.FieldSetterByField
- All Implemented Interfaces:
- FieldSetter
public final class FieldSetterByField
- extends Object
- implements FieldSetter
- Author:
- jonasabreu
|
Method Summary |
void |
withValue(Object value)
Use this method to set a value on the wrapped field. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldSetterByField
public FieldSetterByField(ReflectionProvider provider,
Object target,
Class<?> clazz,
Field field)
withValue
public void withValue(Object value)
- Description copied from interface:
FieldSetter
- Use this method to set a value on the wrapped field.
- Specified by:
withValue in interface FieldSetter
- Parameters:
value - Value to be set.
Copyright © 2011 VidaGeek.net. All Rights Reserved.