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