public static class Setter.MethodSetter extends Object implements Setter
Setter.FieldSetter, Setter.MethodSetter
Constructor and Description |
---|
MethodSetter(Method m) |
Modifier and Type | Method and Description |
---|---|
void |
set(Object object,
Object value)
Call the setter on the specified object.
|
public MethodSetter(Method m)
public void set(Object object, Object value) throws ExecutableException
Setter
set
in interface Setter
object
- The object to call the setter onvalue
- The value to set.ExecutableException
- Exception occurred on invoked constructor/method/field.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.