public class FieldSetter extends Object
| Constructor and Description |
|---|
FieldSetter() |
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
setStaticValue(Class instance,
String fieldName,
T value) |
static <T> void |
setValue(Object instance,
String fieldName,
T value) |
public static <T> void setValue(Object instance, String fieldName, T value) throws IllegalAccessException, NoSuchFieldException
public static <T> void setStaticValue(Class instance, String fieldName, T value) throws IllegalAccessException, NoSuchFieldException
Copyright © 2022 The Apache Software Foundation. All rights reserved.