| Constructor and Description |
|---|
XFieldSetter(Field field) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getType()
Gets the type of the object to be set by this setter.
|
void |
setValue(Object instance,
Object value)
Sets the value of the underlying member.
|
public XFieldSetter(Field field)
public Class<?> getType()
XSettergetType in interface XSetterXSetter.getType()public void setValue(Object instance, Object value) throws IllegalAccessException
XSettersetValue in interface XSetterinstance - the instance of the object that owns this fieldvalue - the value to setIllegalAccessExceptionXSetter.setValue(Object, Object)Copyright © 2021. All rights reserved.