public class ReflectionUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
invokeMethod(Class<?> clz,
String methodName,
Object obj,
Class<? extends T> targetType) |
static void |
setProperty(Object obj,
String propertyName,
Object value) |
public static void setProperty(Object obj, String propertyName, Object value) throws IllegalAccessException
IllegalAccessExceptionCopyright © 2019. All rights reserved.