@Deprecated public class FieldAssign extends Object
| Constructor and Description |
|---|
FieldAssign(Field field)
Deprecated.
...
|
| Modifier and Type | Method and Description |
|---|---|
void |
assign(Object obj,
Object value)
Deprecated.
This method applies the given value to the field in the given object.
|
public FieldAssign(Field field) throws CmdLineException
field - ...NullPointerException - When the field f is null.CmdLineExceptionpublic void assign(Object obj, Object value) throws IllegalAccessException, CmdLineException, IllegalArgumentException, InstantiationException
obj - The object to set.value - The value to set the obj to.NullPointerException - When obj or value are null.IllegalAccessException - When the obj cannot be set to the given value.CmdLineExceptionInstantiationExceptionIllegalArgumentExceptionCopyright © 2015. All Rights Reserved.